fixed RuleRegExp class namespacing