protected static DOMWrapper makeDOMWrapper(final File file) {
   try {
     return makeDOMWrapper(file.toURL());
   } catch (MalformedURLException e) {
     throw mres.AggRuleParse.ex(file.getName(), e);
   }
 }
 protected static DOMWrapper makeDOMWrapper(final String text, final String name) {
   try {
     final Parser xmlParser = XOMUtil.createDefaultParser();
     DOMWrapper def = xmlParser.parse(text);
     return def;
   } catch (XOMException e) {
     throw mres.AggRuleParse.ex(name, e);
   }
 }
 protected static DOMWrapper makeDOMWrapper(final InputStream inStream) {
   try {
     final Parser xmlParser = XOMUtil.createDefaultParser();
     DOMWrapper def = xmlParser.parse(inStream);
     return def;
   } catch (XOMException e) {
     throw mres.AggRuleParse.ex("InputStream", e);
   }
 }
 protected static DOMWrapper makeDOMWrapper(final URL url) {
   try {
     final Parser xmlParser = XOMUtil.createDefaultParser();
     DOMWrapper def = xmlParser.parse(url);
     return def;
   } catch (XOMException e) {
     throw mres.AggRuleParse.ex(url.toString(), e);
   }
 }
 protected static DefaultDef.AggRules makeAggRules(final String text, final String name) {
   DOMWrapper def = makeDOMWrapper(text, name);
   try {
     DefaultDef.AggRules rules = new DefaultDef.AggRules(def);
     return rules;
   } catch (XOMException e) {
     throw mres.AggRuleParse.ex(name, e);
   }
 }
 protected static DefaultDef.AggRules makeAggRules(final InputStream inStream) {
   DOMWrapper def = makeDOMWrapper(inStream);
   try {
     DefaultDef.AggRules rules = new DefaultDef.AggRules(def);
     return rules;
   } catch (XOMException e) {
     throw mres.AggRuleParse.ex("InputStream", e);
   }
 }
 protected static DefaultDef.AggRules makeAggRules(final URL url) {
   DOMWrapper def = makeDOMWrapper(url);
   try {
     DefaultDef.AggRules rules = new DefaultDef.AggRules(def);
     return rules;
   } catch (XOMException e) {
     throw mres.AggRuleParse.ex(url.toString(), e);
   }
 }
 protected static DefaultDef.AggRules makeAggRules(final File file) {
   DOMWrapper def = makeDOMWrapper(file);
   try {
     DefaultDef.AggRules rules = new DefaultDef.AggRules(def);
     return rules;
   } catch (XOMException e) {
     throw mres.AggRuleParse.ex(file.getName(), e);
   }
 }