CHENNAI: The Madras High Court has dismissed a petition seeking to separate a temple from a group of four temples in Namakkal district, ensuring exclusive worship rights for a particular caste.