The rule of law requires that laws be general, public, prospective, clear, and consistent.
"Writing is a way of thinking, it's a way of working things out."
The state, therefore, has not existed from all eternity. There have been societies that did without it, that had no notion of the state or state power. At a certain stage of economic development, which was necessarily bound up with the split of society into classes, the state became a necessity.