Added lexer scoping (Rule implementation pending).