delete test rules
remove redundant macros