He asked the court to set aside the impugned appointment as it was in violation of the rules and based on nepotism