Illegally conduct of the Society Election

Dear Sir, Our apartment Vasathi Anandi is a gated community with 7 Blocks in Hyderabad. Recently our residents tried to form an association, for that all residents has decided in a meeting that we will form association and a election committee formed. So we residents got a notification from Election committee that we will form association so please nominate yourself for different posts but one member from each block. And the selection process would be like from Top to Button stating from President, Vice President, General Secretary, Asst General Secretary, Treasurer, Asst Treasurer. However I nominated as President from my Block B and another guy also nominated himself for General Secretary and Treasurer. But as per condition if I will win election so the guy nominated himself for other two posts would be disqualify as per One Block One Post. But similarly in another Block D, one lady was standing for Asst General Secretary and one guy for Treasurer. But that lady was standing unanimous as there is no contestant. So as per our by law, one block one post. The lady selected for this by default as no contestant against her. But some people wanted another guy who stands for Treasurer. As his position comes later so he is Technical out as lady won by default. But our election committee is changed the rule at last moment and asked this lady to resign and she also did it and so they selected Treasurer which is against our ByLaws. So sir in that case what the laws said and what kind of action can be taken.