question: private void parseRules ( Attributes attributes ) { startMode = getModeAttribute ( attributes , "startMode" ) ; if ( startMode == null ) { startMode = lookupCreateMode ( IMPLICIT_MODE_NAME ) ; md . currentMode = startMode ; startMode . noteDefined ( null ) ; } startMode . noteUsed ( locator ) ; if ( attributesSchema ) { Mode wrapper = lookupCreateMode ( WRAPPER_MODE_NAME ) ; ActionSet actions = new ActionSet ( ) ; actions . addNoResultAction ( new AllowAction ( new ModeUsage ( startMode , startMode ) ) ) ; wrapper . bindElement ( NamespaceSpecification . ANY_NAMESPACE , NamespaceSpecification . DEFAULT_WILDCARD , actions ) ; wrapper . noteDefined ( null ) ; startMode = wrapper ; } defaultSchemaType = getSchemaType ( attributes ) ; }
target:  Parse the rules element. Initializes  the start mode  the current mode the defaultSchemaType