50K iteration benchmark code.
Minor tidying.
RuleSet tidying, doco, constructors
Recover from a cut-and-paste error
Project & code tidying
Relocate the clear() to the end of the method