./#first = 'Biology' or ./#first = 'BIOLOGY' ==> biology_ecology
./#first = 'Diagnosis' or ./#first = 'DIAGNOSIS' ==> diagnosis
./#first = 'Discussion' or ./#first = 'DISCUSSION' ==> discussion
./#first = 'Distribution' or ./#first = 'DISTRIBUTION' ==> distribution
./#first = 'Etymology' or ./#first = 'ETYMOLOGY' ==> etymology
./#first = 'References' or ./#first = 'REFERENCES' ==> reference_group
./#first = 'Chresonymy' or ./#first = 'CHRESONYMY' ==> reference_group
./#first = 'Materials' or ./#first = 'MATERIALS' or ./#first = 'Material' or ./#first = 'MATERIAL' ==> materials_examined
./#first = 'Remarks' or ./#first = 'REMARKS' ==> discussion
./#first = 'Comments' or ./#first = 'COMMENTS' ==> discussion
./#first = 'Measurements' or ./#first = 'MEASUREMENTS' ==> description
./#first = 'Nests' or ./#first = 'NESTS' ==> biology_ecology
(./#first = 'Observation' or ./#first = 'OBSERVATION') and ./# = 'Nests'  ==> biology_ecology
(./#first = 'Derivatio' and ./# = 'nominis') or (./#first = 'DERIVATIO' and ./# = 'NOMINIS')  ==> etymology
./#first[matches(. , 'Worker|Queen|Soldier|Male')]and ./#[matches(. , '[Dd]escription')] ==> description
./#[matches(., '[Mm]aterial(s)?')]and ./#[matches(., '[Ee]xamined')] ==> materials_examined
./#first = 'Description' or ./#first = 'DESCRIPTION' ==> description
((./#first = 'Current' and (./# = 'Status' or ./# = 'status')) or (./#first = 'CURRENT' and ./# = 'STATUS')) and ./taxonomicName ==> nomenclature
./keyLead ==> key
$rule < 20 ==> $category
./# = 'holotype' ==> materials_examined
./# = 'Holotype' ==> materials_examined
./# = 'HOLOTYPE' ==> materials_examined
./# = 'paratype' ==> materials_examined
./# = 'Paratype' ==> materials_examined
./# = 'PARATYPE' ==> materials_examined
./# = 'diagnosis' ==> diagnosis
./materialsCitation ==> materials_examined
./collectionCode ==> materials_examined
./abbreviationReference ==> materials_examined
./geoCoordinate ==> materials_examined
./taxonomicName and ./taxonomicNameLabel ==> nomenclature
count(./taxonomicName) =(count(./taxonomicNameLabel) + 1) and count(./taxonomicNameLabel) > 0 ==> nomenclature
count(./taxonomicName) > 1 ==> discussion
./taxonomicName and $position = 1 ==> nomenclature
./taxonomicName and ./#[matches(. , '[12][0-9]{3}')]and count (./#) < 15 ==> taxon_list
./taxonomicName and ./#[matches(., '[12][0-9]{3}')] ==> reference_group
./taxonomicName ==> nomenclature
./citation ==> reference_group
./collectingEvent ==> materials_examined
./geoCoordinate ==> materials_examined
./collectionCode ==> materials_examined
./location ==> materials_examined
./bibRef ==> reference_group
$position = 1 ==> nomenclature
