legitimate

conforming to the law or to rules