Govt committed for equal rights of all communities: PM