Change exceptions raised in LexerRuleset class.

Error detected in setting the rules raise LexerSetupError exceptions.