public static List<ActiveRule> importConfiguration(String configuration,List<Rule> rulesRepository){
  Ruleset ruleset=DelphiRulesUtils.buildRuleSetFromXml(configuration);
  List<ActiveRule> activeRules=new ArrayList<ActiveRule>();
  for (  DelphiRule fRule : ruleset.getRules()) {
    ActiveRule activeRule=createActiveRule(fRule,rulesRepository);
    if (activeRule != null) {
      activeRules.add(activeRule);
    }
  }
  return activeRules;
}

public static List < ActiveRule > importConfiguration ( String configuration , List < Rule > rulesRepository ) { Ruleset ruleset = DelphiRulesUtils . buildRuleSetFromXml ( configuration ) ; List < ActiveRule > activeRules = new ArrayList < ActiveRule > ( ) ; for ( DelphiRule fRule : ruleset . getRules ( ) ) { ActiveRule activeRule = createActiveRule ( fRule , rulesRepository ) ; if ( activeRule != null ) { activeRules . add ( activeRule ) ; } } return activeRules ; }
imports configuration . transform a list of rule in activerule .
