Templates for lexer rules