code: public static final RuleFactory getRuleFactory() {
  		if (rf == null) {
  			try {
  				@SuppressWarnings("unchecked")
  				Class<? extends RuleFactory> clazz = (Class<? extends RuleFactory>) Class
  						.forName(DEFAULT_RULE_FACTORY);
  				Method m = clazz.getMethod("getInstance");
  				registerRuleFactory((RuleFactory) m.invoke(null));
  				log.debug("Retrived {} as default RuleFactory implementation.",
  						DEFAULT_RULE_FACTORY);
  			} catch (Exception e) {
  				log.error("Unable to get RuleFactory from default", e);
  				throw new RuntimeException(
  						"No RuleFactory implementation registered!");
  			}
  		}
  
  		return rf;
  	}
docs: Returns registered RuleFactory
  
  @return RuleFactory instance