"If the appointment itself is in infraction of the rules... it is an illegality. Such an illegality cannot be cured by resorting to the novel