The National Civil Register (NRC) should be applicable throughout the country. The job of any government is to identify people living in the country who are not citizens of India and exclude it.
It is not against any particular class. As far as the Ram temple decision is concerned, the settlement process was initiated, but it has not been successful.