trying to reduce definition of rules to a minimum