if (profilingRule != null) profiler.setRuleForPrincipal(user, profilingRule, ProfileLocator.PAGE_LOCATOR);
ProfilingRule profilingRule = profiler.getRule(rule); if (profilingRule != null) { profiler.setRuleForPrincipal(user, profilingRule, ProfileLocator.PAGE_LOCATOR);
ProfilingRule rule = profiler.getRule(entry.getValue()); if (rule != null) { profiler.setRuleForPrincipal(user, rule, entry.getKey());