Rename macro RULE to GEN