public static List getRulesFromTree(Cons query, DecisionTree tree) {
    System.out.println("  Extracting rules from decision tree");
    return (DecisionTree.buildRulesFromTree(tree, Logic.getClassificationRelations(query)));
  }