Class RulesetDsl added, exceptions raised by LexerRule methods changed.

The new RulesetDsl class defines a DSL (domain-specific) that simplifies
the creation of LexerRules.