use a simple macro to define a rule of grammar