}
@SuppressWarnings("unchecked")
private void initTables() throws RulesException {
IRSession session = rs.newSession();
RulesAdminService admin = new RulesAdminService(session,rs.getRulesDirectory());
List tables = admin.getDecisionTables(rs.getName());
for(Object table : tables){
RDecisionTable dt = admin.getDecisionTable(rs.getName(),(String)table);
int columns = dt.getConditiontable().length>0 ? dt.getConditiontable()[0].length:0;
int conditions = dt.getConditiontable().length;
int actions = dt.getActions().length;
Stats stats = new Stats(dt,columns,conditions,actions);