if (attributes.size() > 0)
rules.addOracleComparator(new OracleComparator(
"attribute",
new AttributeComparator(attributes.toArray(new String[attributes.size()]))));
if (regexs.size() > 0)
rules.addOracleComparator(new OracleComparator("regex", new RegexComparator(
regexs.toArray(new String[regexs.size()]))));
if (xpaths.size() > 0)
rules.addOracleComparator(new OracleComparator("xpath",
new XPathExpressionComparator(xpaths.toArray(new String[xpaths.size()]))));
}