3.1.4.1.3.54 mce:RulesType Complex Type

The RulesType complex type specifies the rules collection in a rules package.<47>

 <xs:complexType name="RulesType">
   <xs:sequence>
     <xs:choice maxOccurs="unbounded">
       <xs:element name="Entity" type="mce:EntityType"/>
       <xs:element name="Affinity" type="mce:AffinityType"/>
       <xs:element name="Version" type="mce:VersionedRuleType"/>
     </xs:choice>
     <xs:choice minOccurs="0" maxOccurs="unbounded">
       <xs:element name="Regex" type="mce:RegexType"/>
       <xs:element name="Keyword" type="mce:KeywordType"/>
       <xs:element name="Fingerprint" type="mce:FingerprintType"/>
     </xs:choice>
     <xs:element name="LocalizedStrings" type="mce:LocalizedStringsType"/>
   </xs:sequence>
 </xs:complexType>

The following table lists the child elements of the RulesType complex type.

Element

Type

Description

Entity

mce:EntityType (section 3.1.4.1.3.16)

Specifies an entity-based rules classification definition.

Affinity

mce:AffinityType  (section 3.1.4.1.3.3)

Specifies an affinity-based rules classification definition.

Regex

mce:RegexType (section 3.1.4.1.3.47)

Specifies a regular expression text processor.

Keyword

mce:KeywordType (section 3.1.4.1.3.22)

Specifies a keyword text processor.

LocalizedStrings

mce:LocalizedStringsType (section 3.1.4.1.3.25)

Specifies the localized information for an entity or affinity classification rule.

Version

mce:VersionedRuleType

Specifies version of rules classification definition.

Fingerprint

mce:FingerprintType

Specifies a fingerprint text processor.