for (Enumeration e = tabSectionContentsFromRule.objectEnumerator(); e.hasMoreElements();) {
NSArray tab = (NSArray) e.nextElement();
ERD2WContainer c = new ERD2WContainer();
c.name = (String) tab.objectAtIndex(0);
c.keys = new NSMutableArray();
Object testObject = tab.objectAtIndex(1);
if (testObject instanceof NSArray) { // format #2
for (int i = 1; i < tab.count(); i++) {
NSArray sectionArray = (NSArray) tab.objectAtIndex(i);
ERD2WContainer section = new ERD2WContainer();
section.name = (String) sectionArray.objectAtIndex(0);