for (int i = 0; i < dt.data.length; i++) {
String[] row = dt.data[i];
String num = row[0];
String desc = row[1];
RuleModel rm = new RuleModel();
rm.name = getName(dt.tableName, num);
doMetadata(dt.getMetadataCols(), row, rm);
doAttribs(dt.getMetadataCols().size(), dt.attributeCols, row, rm);
doConditions(dt.getMetadataCols().size() + dt.attributeCols.size(), dt.conditionCols, row, rm);