So just to clarify, if such is what I'm doing: are you saying that what we would regard as laws were originally, at some period lost in the mists of human history, collated and codified into some form of religious practise perhaps for the very purpose of applying those laws?
At the age of five, Skagra decided emphatically that God did not exist. This revelation tends to make most people in the universe who have it react in one of two ways - with relief or with despair. Only Skagra responded to it by thinking, 'Wait a second. That means there's a situation vacant.'