Add a macro to define grammar rules more easily