Rules: Make it possible to write rules that check #define macros