Clean up lexer rules.