getLog().info( "------------------------------------------------------------------------" );
getLog().info( " Adding matchingRules:" );
getLog().info( "------------------------------------------------------------------------" );
getLog().info( "" );
MatchingRuleRegistry matchingRuleRegistry = registries.getMatchingRuleRegistry();
for ( MatchingRule matchingRule : matchingRuleRegistry )
{
String schemaName = matchingRuleRegistry.getSchemaName( matchingRule.getOid() );
Schema schema = registries.getLoadedSchemas().get( schemaName );
getLog().info( "\t\t o [" + schemaName + "] - " + getNameOrNumericoid( matchingRule ) );
LdapDN dn = checkCreateSchema( schemaName );
dn.add( SchemaConstants.OU_AT + "=matchingRules" );
dn.normalize( registries.getAttributeTypeRegistry().getNormalizerMapping() );