It is making state law according to religious rules.
Fundamentalism is a strict adherence to the basic principles of a religion or ideology, often characterized by a belief in the literal interpretation of sacred texts and a resistance to modern ideas or interpretations. It can lead to an uncompromising and rigid approach to beliefs and practices.