Log log = getDigester().getLogger();
boolean debug = log.isDebugEnabled();
for ( int i = 0; i < rules.size(); i++ )
{
int j = ( rules.size() - i ) - 1;
Rule rule = rules.get( j );
if ( debug )
{
log.debug( " Fire end() for " + rule );
}
try
{
rule.end( namespaceURI, name );
}
catch ( Exception e )
{
throw getDigester().createSAXException( e );
}