if ((rules != null) && (rules.size() > 0))
{
Iterator _it = rules.iterator();
while (_it.hasNext())
{
JSProfilingRule _c = (JSProfilingRule) _it.next();
try
{
ProfilingRule rule = null;
rule = pm.getRule(_c.getId());
if ((rule == null) || (isSettingSet(settings, JetspeedSerializer.KEY_OVERWRITE_EXISTING)))
{
rule = recreateRule(pm, rule, _c);
pm.storeProfilingRule(rule);
}