}
public void writeDecisionTables(String tables, String fields[], boolean ascending, int limit){
try {
RulesDirectory rd = new RulesDirectory(getPath(),getRulesDirectoryFile());
RuleSet rs = rd.getRuleSet(getRuleSetName());
IRSession s = rs.newSession();
RulesAdminService admin = new RulesAdminService(s);
Rules2Excel r2e = new Rules2Excel();
r2e.writeExcel(admin, rs, tables, fields, ascending, limit);