out.write(" <table>\n\n");
Iterator<RuleIF> rules = sd.getRuleInstances(sm).values().iterator();
while(rules.hasNext()){
RuleIF rule = rules.next();
ArrayList<RuleIF> collection = sortedRules.get(rule.getRuleDataDMO().getConstructionClassName());
if (collection == null){
collection = new ArrayList<RuleIF>();
sortedRules.put(rule.getRuleDataDMO().getConstructionClassName(), collection);
}
collection.add(rule);
}
for(String key: sortedRules.keySet()){