added date macros for rule editor