Are there rules that prevent chaos in our world? Is it right to say that, if there is no supreme god, there must be a power or set of rules that prevents chaos in our world?

Isn't it natural that if the world is not ruled by god it must be exposed to some set of predetermined rules that prevent total chaos. I mean that the laws of physics are not enough power to keep the world (particularly our earth life) from running into total disorder.
For example according to Aggañña Sutta, the universe shrink and then expand in repeated cycles. I see here one of these predetermined rules - cycles.
My scientific education tells me that:


The world is as it is and behaves as it does (and is observed by people).
People (scientists) observe that behaviour and then invent rules which describe (or define) the behaviour.


Note that:


Those rules are not necessarily "pre-determined" (instead they're invented by people to describe the behaviour-of-the-world which they observe)
The world doesn't obey the rules, instead the rules are chosen to describe the world.


A Buddhist word for those rules is Dharma or Dhamma.

The Buddha is praised for his Dhamma, i.e. the Buddha discovered and explained a useful set of "rules" which we use to understand the world.