In a setback for AIADMK leader E Palaniswami, the Madras High Court today ruled that his appointment as the party's general secretary is not valid. The ruling comes as a shot in the arm for O Panneerselvam, who is caught in a bitter power tussle with Mr Palaniswami.