public static List<Rule> parseReferential(String path){
  Ruleset ruleset=DelphiRulesUtils.buildRuleSetFromXml(DelphiRulesUtils.getConfigurationFromFile(path));
  List<Rule> rulesRepository=new ArrayList<Rule>();
  for (  DelphiRule fRule : ruleset.getRules()) {
    rulesRepository.add(createRepositoryRule(fRule));
  }
  return rulesRepository;
}

public static List < Rule > parseReferential ( String path ) { Ruleset ruleset = DelphiRulesUtils . buildRuleSetFromXml ( DelphiRulesUtils . getConfigurationFromFile ( path ) ) ; List < Rule > rulesRepository = new ArrayList < Rule > ( ) ; for ( DelphiRule fRule : ruleset . getRules ( ) ) { rulesRepository . add ( createRepositoryRule ( fRule ) ) ; } return rulesRepository ; }
parses rules xml file
