Related to pending maintainance in exceptional case

HI Sir/Madam, I own a 2bhk flat in Pune. Engineering students were living in the 2015-16 year as tenants in my flat. When they completed the rental agreement, we have planned to let our flat to some other students as there are multiple engineering colleges in my nearby area. Before doing a rent agreement with the new tenant, I have conveyed this to the former chairman of the society and did the rent agreement accordingly. On the day of shifting of a new tenant, some people from my society restricted new tenants to get inside the society, saying that bachelors are not allowed in the society. I was ready to do police verification for a new tenant and then also people were not allowing them to shift. I had bared that loss of rental agreement and as I could not find anyone other than bachelors, I have to keep my flat empty for a year almost. When I shifted to my flat, in 2017 May, I have paid regular maintenance till date. Now society is asking me to pay pending maintenance with a penalty. The problem here is, in my society, I can find many bachelors still living after 2 years of when the incident happened with me. The rule of not giving flat on rent to students and bachelors has been modified now according to the new society committee. One more thing is, the newly formed society have all the members who have created the drama before 2 years back creating instant rules and all. Now they have sent out a legal notice to me for pending maintenance, which I think is injustice with me. Can you please suggest something.