Adding a grammar rule with conditional compilation