Simplify lexer rules.