separated the rules from the definitions. created auto.mk