Add registerRulesInDir to StringChecker