XClassRegexRuleTests implemented
javadoc changed and minor cleanup