The science of regulations