while ( rule instanceof RuleReference )
{
excludes = ( ( RuleReference ) rule ).getRuleSetReference().getExcludes();
rule = ( ( RuleReference ) rule ).getRule();
}
final IFlexRule flexRule = ( IFlexRule ) rule;
if ( excludes != null
&& !excludes.isEmpty() )
{
flexRule.setExcludes( excludes );
}
rules.put( flexRule.getRuleName(),
flexRule );
}
LOGGER.info( "computed RulesList in "
+ ( System.currentTimeMillis() - startTime ) + " ms" );