<?xml version='1.0' encoding='utf-8'?>
<lgr xmlns="urn:ietf:params:xml:ns:lgr-1.0">
  <meta>
    <version comment="Proposal for Root Zone Label Generation Rules for the Myanmar Script">4</version>
    <date>2019-10-11</date>
    <unicode-version>6.3.0</unicode-version>
    <language>und-Mymr</language>
    <scope type="domain">.</scope>
    <description type="text/html"><![CDATA[
<h2>Overview</h2>
    <p>This file contains Label Generation Rules (LGR) for the Myanmar script for the Root zone. 
     For more details on this LGR and its development, see "Proposal for a Myanmar Script Root Zone Label Generation 
     Rule-Set (LGR)"; [Proposal]. 
     The format of this file follows [RFC 7940].</p>
<h2>Repertoire</h2>
    <p>The Root Zone LGR for the Myanmar script lists 169 entries in total; 
    consisting of 100 Myanmar script unique code points, 69 sequences.

    <p>The repertoire includes code points used by languages written in Myanmar script 
    that fall within levels 1 to 4 on the [EGIDS] scale, as well as EGIDS 5 languages 
    which have more than 500,000 users are included in the analysis. 
    They are Burmese, Shan, Rakhine, S'gaw Karen, Mon, Pa'O Karen.
    A non-exhaustive list of languages using each code point can be found in the comments. 
    For more details, see Section 5 "Repertoire" in [Proposal].  
    </p>
    <p>Note: In this proposal, to avoid confusion, the term 'Myanmar' is used for Myanmar script
    and the term 'Burmese' is used for the Myanmar language</p>
    
    <p>The repertoire is based on [MSR-4], which is a subset of [Unicode 6.3].    </p>
    
    <p>Code points outside the Myanmar script that are listed in this file are targets
    for out-of-script variants and are identified by a reflexive (identity)
    variant of type "out-of-repertoire-var". They do not form part of the
    repertoire.</p>
    
<h2>Variants</h2>
    <p>According to Section 6, "Variants", in [Proposal], this LGR defines following variants:
    <ol>
   	<li>In-script variants. Disposition of some sets are blocked as one version of 
   	the label should be in the root-zone while disposition of some sets are allocatable as
   	it is useable for both version. See Section 6.1 in the [Proposal]. 
   	The rules to restrict no-mixed language are required. See Section 7 in the [Proposal] 
   	Some of the code point combinations could create visual variant set, however the WLE rules 
   	disallow the combination. Such cases are not listed in the normative part. 
   	They are listed in Appendix A.
   	</li>
   	<li>Cross-script variants. Some Myanmar characters look the same as characters 
   	in Malayalam, Oriya and Georgian scripts. See Section 6.1 in the [Proposal]. </li>
	</ol>
    <p>The specification of variants in the Root Zone LGR follows the guidelines in [RFC 8228].</p>

<h2>Character Classes</h2>
    <p>The syllable principle is the heart of Myanmar script writing system. 
   The general syllable formation is Consonant > (Medials) > Vowels > (Consonant) > Tone. 
    The writing system of Myanmar script could be summed up as composed of 
    <ol>
    <li>Consonants (c)</li>
    <li>Independent Vowels (iv)</li>
	<li>Dependent Vowels (dv). Some of the dv also categorized to following sub-categories:</li>
    <ul>
    <li> Long Vowel (lv): 102B, 102C, 102E, 1030, 1031, 1032, 1036</li>
    <li> Short Vowel (sv): 102D, 102F"</li>
    </ul>
	<li>Medials (m)</li>
	<li>Tone mark and Signs:</li>
    <ul>
    <li>Virama (v) </li>
    <li>Killer or Asat (k)</li>
	<li>Long Tone (t_short)</li>
	<li>Short Vowel (t_long)</li>
	<li>Shan Tone (sh_tone)</li>
	<li>Shan Vowel (sh_vowel)</li>
	<li>Pao Tone (pao_tone)</li>
	<li>Sgaw Tone (sh_tone)</li>
	<li>Other Various Sign (ov)</li>
    </ul>
    </ol>
    </p>
    
    <p>Consonants: Consonants usually stay at the head of each syllable. A consonant can 
    be stand-alone or be followed by Medials, Dependent Vowels, other Signs or Tone Mark.
    A Consonant cannot be in between V to prevent the invalid case of c-v-c-v-c. 
    See Section 3.3.1, "The Consonants" of the [Proposal].</p>

    <p>Independent Vowels: Only Burmese, Mon and Pa’O languages use Independent Vowels. 
    An Independent Vowel can be at any position in a label. See Section 3.3.2, 
    "The Independent Vowels" of the [Proposal].</p>

    <p>Dependent Vowels: Dependent vowel signs add vowel property to consonants. 
    These signs appear in top/below/left/right positions of a center consonant or 
    consonant+medial. The dotted-circle indicates where the centre character would be. 
    Dependent vowel signs cannot be repeated and Dependent vowels cannot be adjacent to 
    each other unless within sequences defined in Table 8-A. 
    Dependent vowels also cannot be followed by Asat (U+1038) unless within 
    sequences defined in Table 8-A. See Section 3.3.3, 
    "The Diacritic - Dependent Vowels" of the [Proposal].</p>

    <p>Medials: Medials are used to enhance the sound of Consonants. They are also noted 
    as Dependent Consonants as they need a leading Consonant to attach to. All five 
    languages in this proposal use Medials. See Section 3.3.4, "Diacritic - Medials" 
    of the [Proposal].</p>
    
    <p>Virama: MYANMAR SIGN VIRAMA (U+1039) is used in Burmese and Mon. 
    Virama has two properties, as killer (devoweliser) and joiner of syllable chaining. 
    This virama brings the consonant after it to be rendered below the consonant before. 
    Pattern of syllable chaining : Consonant + Virama + Consonant. 
    However, the repeating of Consonant + Virama + Consonantt is not allowed to prevent rendering issue.  

    <p>Medials: Medials are used to enhance the sound of Consonants. They are also noted 
    as Dependent Consonants as they need a leading Consonant to attach to. All five 
    languages in this proposal use Medials. See Section 3.3.4, "Diacritic - Medials" 
    of the [Proposal].</p>
    
    <p>Virama: MYANMAR SIGN VIRAMA (U+1039) is used in Burmese and Mon. 
    Virama has two properties, as killer (devoweliser) and joiner of syllable chaining. 
    This virama brings the consonant after it to be rendered below the consonant before. 
    Pattern of syllable chaining : Consonant + Virama + Consonant. 
    However, the repeating of Consonant + Virama + Consonantt is not allowed to prevent rendering issue.  
    See Section 3.3.5, "Diacritic - Tone Marks and Other Signs" of the [Proposal].</p>
    
    <p>Killer or Asat: MYANMAR SIGN ASAT (U+103A) is used in Burmese and Mon.
    This sign is used to remove the consonant sound of a letter and take only the vowel 
    property to create more vowel sounds out of consonants. Except the defined sequences, 
    Asat cannot follow other Diacritics. See Section 3.3.5, "Diacritic - Tone Marks and Other Signs" of the [Proposal].</p>
    
    <p>Long Tone (t_long): MYANMAR SIGN VISARGA (U+1038) appears at the end of the syllable.
    It creates a vowel sound with the  higher tone. It follows Consonant, Medial, Long vowel or U+102D U+102F sequence.
    See Section 3.3.5.1, "Burmese Tone Marks and Other Signs" of the [Proposal]. </p>
    
    <p>Short Tone (t_short): MYANMAR SIGN DOT BELOW (U+1037) is a Dependent Vowel for 
    the S’gaw Karen language which must follow a consonant. However, it is a Short Tone Sign 
    for Burmese and Pa’O Karen which must follow a long vowel. Therefore the LGR allow it 
    to follow a consonant or a long vowel. See Section 3.3.3, 3.3.5.1, 3.3.5.5 of the [Proposal].</p>
    
    <p>Other classes defined for being used in WLE</p>
	<ul>
	<li>Sequence S16, S17, Asat sequences</li>
	<li>c2, a set of consonants to be combined with S16</li>
	<li>c3, a set of consonants to be combined with S17</li>
	<li>S11</li>
	<li>S12, a long-vowel sequence</li>
	<li>Shan Tone (sh_tone), Shan Vowel (sh_vowel)</li>
	<li>Pa'O Karen Tone (pao_tone), Pa'O Karen Consonant (c_pao),Pa'O Karen Medial (m_pao)</li>
	<li>Sequence ST4 - a Pa'O Karen Tone Sequence</li>
	<li>Sequence ST1, ST2, ST3 - Skaw Karen Tone Sequences</li>	
	<li>S_Mon4, Mon Kinzi</li>
	</ul>
	
    <p>The rules are: </p>
	<ul>
     <li>1. dv: must follow c or m; dv includes lv, sv, sequence S12, S13, S14, S15, S18, S19, S20, S_Mon3, S_Sh1, S_Sh2, S_Sh3, S_Sh4, S_Sh5, S_Pao, and ov  </li>
     <li>2. Anusvara: must follow c or m</li>
     <li>3. m: must follow c; with following exceptions:
     			<ul>
     			<li>102B must follow c but not 1005</li>
     			<li>102B must follow c but not 101E</li>
     		    <li>102B must follow c but not 1003, 107D</li>
     			</ul>
     </li>
     <li>4. The Myanmar Great Saa (U+103F): must follow c or m or dv or 1023 or 1025</li>
     <li>5. (c+k) or (c2 + S16) or (c3+S17) must follow C or M or DV or OV 	</li>
     <li>6. S11 must follow c or m or dv and another c must follow S11 </li>
     <li>7.	v: must be in between two c (c-v-c). But c cannot be in between v to prevent v-c-v-c </li>
     <li>8. t_long: must follow c or m or lv or S12</li> 
     <li>9. t_short: must follow C or lv</li>
     <li>10.sh_tone must follow sh_vowel or (c+k) or s_sh2 or s_sh5 </li>
     <li>11. Pa'O rules:
     			<ul>
     			<li>pao_tone must follow  dv or k</li>
     			<li>p_pao must follow c_pao or m_paol</li>
     			</ul>
     </li>
     <li>12. ST4 must follow U+1031, U+1032, S12, S14, S15	</li>
     <li>13. ST1, ST2, ST3 or Sgaw_Tone must follow C or M or DV</li>
     <li>14. S_Mon4 must follow C or M or DV and another C must follow S_Mon4 </li>
     <li>15. U+102C Cannot  follow three consonants U+1002, U+1015, U+101D </li>
    </ul>


<h2>References</h2>
    <dl class="references">

     <dt>[EGIDS]</dt>
     <dd>Expanded Graded Intergenerational Disruption Scale, https://www.ethnologue.com/about/language-status (Accessed on 8  October 2017)</dd>
    <dt>[MSR-4]</dt>
    <dd>Integration Panel, "Maximal Starting Repertoire — MSR-4 Overview and Rationale", 
    7 February 2019, https://www.icann.org/en/system/files/files/msr-4-overview-25jan19-en.pdf 
    </dd>

     <dt>[Proposal]</dt> 
     <dd>Myanmar Generation Panel, “Proposal for a Myanmar Script Root Zone Label 
     Generation Rule-Set (LGR)”, Date[TBD], File location [TBD]</dd>

     <dt>[RFC 7940]</dt>
     <dd>Davies, K. and A. Freytag, "Representing Label Generation Rulesets Using XML", 
     RFC 7940, August 2016, http://www.rfc-editor.org/info/rfc7940. </dd> 

    <dt>[RFC 8228]</dt>
    <dd>A. Freytag, "Guidance on Designing Label Generation Rulesets (LGRs) Supporting Variant Labels", RFC 8228, August 2017,
    https://www.rfc-editor.org/info/rfc8228</dd>

     <dt>[Unicode 6.3]</dt>
     <dd>The Unicode Consortium. The Unicode Standard, Version 6.3.0, (Mountain View, CA: The Unicode Consortium, 2013. ISBN 978-1-936213-08-5) 
     http://www.unicode.org/versions/Unicode6.3.0/</dd>
    </dl>
    
    <p>For more details for references [100] and up refer to the Table of References below.</p>


]]></description>
    <references>
      <reference id="103">Mon News Agency, 26 September 2018, http://mon.monnews.org/</reference>
      <reference id="105">Shan News, 3 October 2018, https://shannews.org/</reference>
      <reference id="101">Unicode Technical Note (11), Myanmar ( Range: 1000–109F ), The Unicode Standard 11.0,</reference>
      <reference comment=" https://www.ethnologue.com/country/MM" id="102">Ethnologue, Myanmar, (Accessed 6 October 2019)</reference>
      <reference comment="http://www.omniglot.com/writing/burmese.htm" id="104">Omniglot, Burmese, (Accessed 6 October 2019)</reference>
      <reference comment="https://en.wikipedia.org/wiki/Pa%27O_people" id="106">Wikipedia, Pa’O people, (Accessed 6 October 2019)</reference>
      <reference comment="https://www.omniglot.com/writing/karen.htm" id="107">Omniglot, Karen (ကညီကျိာ်), (Accessed 6 October 2019)</reference>
      <reference comment="https://www.mmunicode.org/wiki/guides/" id="108">Unicode Area, (Accessed 6 October 2019)</reference>
      <reference comment="http://unicodetoday.org/paoh-keyboard-2016-v2/" id="109">Unicode Today, (Accessed 6 October 2019)</reference>
    </references>
  </meta>
  <data>
    <char comment="Not part of repertoire" cp="0B20" tag="sc:Orya">
      <var comment="Out-of-repertoire-var" cp="0B20" type="out-of-repertoire-var"/>
      <var cp="0D20" type="blocked"/>
      <var comment="Cross-script homoglyph" cp="101D" type="blocked"/>
    </char>
    <char comment="Not part of repertoire" cp="0B47" tag="sc:Orya">
      <var comment="Out-of-repertoire-var" cp="0B47" type="out-of-repertoire-var"/>
      <var comment="Cross-script homoglyph" cp="1031" type="blocked"/>
    </char>
    <char comment="Not part of repertoire" cp="0D20" tag="sc:Mlym">
      <var cp="0B20" type="blocked"/>
      <var comment="Out-of-repertoire-var" cp="0D20" type="out-of-repertoire-var"/>
      <var comment="Cross-script homoglyph" cp="101D" type="blocked"/>
    </char>
    <char comment="Not part of repertoire" cp="0D31" tag="sc:Mlym">
      <var comment="Out-of-repertoire-var" cp="0D31" type="out-of-repertoire-var"/>
      <var comment="Cross-script homoglyph" cp="1002" type="blocked"/>
      <var cp="1077" type="allocatable"/>
      <var cp="10D8" type="blocked"/>
    </char>
    <char cp="1000" not-when="between-v" ref="101 103" tag="c myanmar sc:Mymr">
      <var cp="1075" type="allocatable"/>
    </char>
    <char comment="CM1" cp="1000 103B 103D"/>
    <char comment="CM2" cp="1000 103C 103D"/>
    <char comment="SV1" cp="1000 1039 1000" not-when="precedes-v">
      <var cp="1023" type="blocked"/>
    </char>
    <char comment="SS06; Exception to WLE Rule" cp="1000 103B 103D 1014 103A 102F 1015 103A"/>
    <char cp="1001" not-when="between-v" ref="101 103" tag="c myanmar sc:Mymr">
      <var cp="1076" type="allocatable"/>
    </char>
    <char comment="CM3" cp="1001 103B 103D"/>
    <char comment="CM4" cp="1001 103C 103D"/>
    <char cp="1002" not-when="between-v" ref="101 103" tag="c myanmar sc:Mymr">
      <var cp="0D31" type="blocked"/>
      <var cp="1077" type="allocatable"/>
      <var cp="10D8" type="blocked"/>
    </char>
    <char comment="CM5" cp="1002 103B 103D"/>
    <char comment="CM6" cp="1002 103C 103D"/>
    <char cp="1003" not-when="between-v" ref="101 103" tag="c sc:Mymr"/>
    <char cp="1004" not-when="between-v" ref="101 103" tag="c c2 c3 sc:Mymr">
      <var cp="105A" type="allocatable"/>
    </char>
    <char cp="1004 103A" when="follows-c-m-dv-and-followed-by-c">
      <var cp="1004 103A 1039" type="allocatable"/>
    </char>
    <char comment="CM7" cp="1004 103C 103E"/>
    <char comment="CM8" cp="1004 103D 103E"/>
    <char comment="S11; For WLE rule #8" cp="1004 103A 1039" when="follows-c-m-dv-and-followed-by-c">
      <var cp="1004 103A" type="allocatable"/>
    </char>
    <char cp="1005" not-when="between-v" ref="101 103" tag="c myanmar sc:Mymr">
      <var cp="1078" type="allocatable"/>
    </char>
    <char cp="1006" not-when="between-v" ref="101 103" tag="c sc:Mymr"/>
    <char cp="1007" not-when="between-v" ref="101 103" tag="c myanmar sc:Mymr">
      <var cp="1079" type="allocatable"/>
    </char>
    <char cp="1008" not-when="between-v" ref="101 103" tag="c sc:Mymr">
      <var cp="105B" type="allocatable"/>
    </char>
    <char cp="1009" not-when="between-v" ref="101 103" tag="c c2 c3 sc:Mymr"/>
    <char cp="100A" not-when="between-v" ref="101 103" tag="c c2 c3 myanmar sc:Mymr">
      <var cp="107A" type="allocatable"/>
    </char>
    <char comment="CM9" cp="100A 103D 103E"/>
    <char cp="100B" not-when="between-v" ref="101 103" tag="c sc:Mymr"/>
    <char cp="100C" not-when="between-v" ref="101 103" tag="c sc:Mymr"/>
    <char cp="100D" not-when="between-v" ref="101 103" tag="c sc:Mymr"/>
    <char cp="100E" not-when="between-v" ref="101 103" tag="c sc:Mymr"/>
    <char cp="100F" not-when="between-v" ref="101 103" tag="c c2 c3 myanmar sc:Mymr">
      <var cp="1014" type="allocatable"/>
      <var cp="107C" type="allocatable"/>
    </char>
    <char cp="1010" not-when="between-v" ref="101 103" tag="c sc:Mymr">
      <var cp="10D7" type="blocked"/>
    </char>
    <char cp="1011" not-when="between-v" ref="101 103" tag="c sc:Mymr"/>
    <char cp="1012" not-when="between-v" ref="101 103" tag="c sc:Mymr"/>
    <char cp="1013" not-when="between-v" ref="101 103" tag="c sc:Mymr"/>
    <char cp="1014" not-when="between-v" ref="101 103" tag="c c2 c3 myanmar sc:Mymr">
      <var cp="100F" type="allocatable"/>
      <var cp="107C" type="allocatable"/>
    </char>
    <char comment="CM10" cp="1014 103D 103E"/>
    <char cp="1015" not-when="between-v" ref="101 103 105" tag="c sc:Mymr"/>
    <char comment="CM11" cp="1015 103B 103D"/>
    <char comment="CM12" cp="1015 103C 103D"/>
    <char cp="1015 102C 103A">
      <var cp="101F 103A" type="allocatable"/>
    </char>
    <char comment="SV2; Exception of 102C cannot follow 1015" cp="1015 1039 1015 102C"/>
    <char cp="1016" not-when="between-v" ref="101 103" tag="c myanmar sc:Mymr">
      <var cp="107D" type="allocatable"/>
    </char>
    <char comment="CM13" cp="1016 103C 103D"/>
    <char cp="1017" not-when="between-v" ref="101 103" tag="c myanmar sc:Mymr">
      <var cp="107F" type="allocatable"/>
    </char>
    <char comment="CM14" cp="1017 103C 103D"/>
    <char cp="1018" not-when="between-v" ref="101 103" tag="c sc:Mymr"/>
    <char cp="1019" not-when="between-v" ref="101 103" tag="c c2 c3 sc:Mymr"/>
    <char comment="CM15" cp="1019 103B 103D"/>
    <char comment="CM16" cp="1019 103B 103E"/>
    <char comment="CM17" cp="1019 103C 103D"/>
    <char comment="CM18" cp="1019 103C 103E"/>
    <char comment="CM20" cp="1019 103D 103E"/>
    <char comment="CM19" cp="1019 103C 103D 103E"/>
    <char cp="101A" not-when="between-v" ref="101 103 105" tag="c c2 sc:Mymr"/>
    <char comment="CM21" cp="101A 103D 103E"/>
    <char comment="SS07; Exception to WLE rule Asat 103A follows Medial 103B" cp="101A 1031 102C 1000 103A 103B 102C 1038"/>
    <char cp="101B" not-when="between-v" ref="101 103 105" tag="c sc:Mymr"/>
    <char comment="SV3; See Section 6.1 of [Proposal-Myanmar]" cp="101B 103E">
      <var cp="1061" type="blocked"/>
    </char>
    <char comment="CM22" cp="101B 103D 103E"/>
    <char cp="101C" not-when="between-v" ref="101 103 105" tag="c sc:Mymr"/>
    <char comment="CM23" cp="101C 103B 103E"/>
    <char comment="CM24" cp="101C 103D 103E"/>
    <char comment="SS08; Exception to WLE rule Asat 103A follows Medial 103B" cp="101C 1000 103A 103B 102C"/>
    <char cp="101D" not-when="between-v" ref="101 103 105" tag="c c3 sc:Mymr">
      <var cp="0B20" type="blocked"/>
      <var cp="0D20" type="blocked"/>
    </char>
    <char cp="101E" not-when="between-v" ref="101 103 105" tag="c sc:Mymr"/>
    <char comment="CM25" cp="101E 103B 103E"/>
    <char comment="SS10; The only Mon word with 101E 103C" cp="101E 103C 1014 103A" ref="103"/>
    <char comment="SS09; The only Shan word with 101E 103C" cp="101E 103C 1083 1087" ref="105"/>
    <char cp="101F" not-when="between-v" ref="101 103" tag="c sc:Mymr"/>
    <char cp="101F 103A">
      <var cp="1015 102C 103A" type="allocatable"/>
    </char>
    <char cp="1020" not-when="between-v" ref="101 103" tag="c sc:Mymr"/>
    <char cp="1021" not-when="between-v" ref="101 103" tag="c myanmar sc:Mymr">
      <var cp="1022" type="allocatable"/>
    </char>
    <char cp="1022" not-when="between-v" ref="101 105" tag="c sc:Mymr shan">
      <var cp="1021" type="allocatable"/>
    </char>
    <char cp="1023" ref="101 103" tag="iv sc:Mymr">
      <var cp="1000 1039 1000" type="blocked"/>
    </char>
    <char comment="S_Mon1; This is Independent vowel sequence for Mon Language (See 3.3.2.2)" cp="1023 1033"/>
    <char cp="1024" ref="101" tag="iv sc:Mymr"/>
    <char cp="1025" ref="101 103" tag="iv sc:Mymr"/>
    <char comment="S_Mon2; This is Independent vowel sequence for Mon Language (See 3.3.2.2)" cp="1025 102F"/>
    <char comment="SS01; 1025 cannot join with other signs" cp="1025 102F 1036"/>
    <char comment="SS02; 1025 cannot join with other signs" cp="1025 102F 1038"/>
    <char cp="1026" ref="101 103" tag="iv sc:Mymr"/>
    <char comment="SS03; 1026 cannot join with other signs" cp="1026 1038"/>
    <char cp="1027" ref="101" tag="iv sc:Mymr">
      <var cp="1028" type="allocatable"/>
    </char>
    <char comment="SS05; Exception to WLE rule Diacritic follows Independent vowel 1027" cp="1027 1032"/>
    <char comment="SS04; Exception to WLE rule #3 Sequence of Consonant-dot below-Asat being lead by Independent vowel 1027" cp="1027 100A 1037 103A"/>
    <char cp="1028" ref="101 102 103" tag="iv sc:Mymr">
      <var cp="1027" type="allocatable"/>
    </char>
    <char cp="1029" ref="101 103" tag="iv sc:Mymr"/>
    <char cp="102A" ref="101 103" tag="iv sc:Mymr"/>
    <char cp="102B" ref="101 103" tag="dv lv myanmar sc:Mymr" when="follows-c-m">
      <var cp="102C" type="allocatable"/>
      <var cp="1083" type="allocatable"/>
    </char>
    <char cp="102C" ref="101 103" tag="dv lv myanmar sc:Mymr" when="follows-c-m">
      <var cp="102B" type="allocatable"/>
      <var cp="1083" type="allocatable"/>
    </char>
    <char comment="ST2; This is used as Tone Sequence in Sgaw Karen language. (See 3.3.5.3 of [Proposal-Myanmar])" cp="102C 103A" when="follows-c-m-dv"/>
    <char cp="102D" ref="101 103 105" tag="dv sc:Mymr sh_vowel" when="follows-c-m"/>
    <char comment="S12; Long vowel sequence, For WLE Rule #10, #11" cp="102D 102F" when="follows-c-m"/>
    <char comment="S_Sh3; Dependent Vowel Sequence for Shan Language. (See 3.3.3.2 of [Proposal-Myanmar])" cp="102D 1030" when="follows-c-m"/>
    <char comment="S18; Long vowel sequence" cp="102D 1036" when="follows-c-m"/>
    <char cp="102E" ref="101 105" tag="dv lv myanmar sc:Mymr sh_vowel" when="follows-c-m">
      <var cp="1033" type="allocatable"/>
    </char>
    <char cp="102F" ref="101 103 105" tag="dv sc:Mymr sh_vowel" when="follows-c-m"/>
    <char comment="S_Pao;   Dependent Vowel Sequence for Pa’O Language. This must follow c_pao or m_pao (See 3.3.3.5)" cp="102F 1032" when="follows-c_pao-m_pao"/>
    <char comment="S13; long vowel sequence, For WLE Rule #10, #11" cp="102F 1036" when="follows-c-m"/>
    <char cp="1030" ref="101 103 105" tag="dv lv sc:Mymr sh_vowel" when="follows-c-m"/>
    <char cp="1031" ref="101 103 105" tag="dv lv sc:Mymr sh_vowel" when="follows-c-m">
      <var cp="0B47" type="blocked"/>
    </char>
    <char comment="S14; long vowel sequence, For WLE Rule #7, #11" cp="1031 102B" when="follows-c-m"/>
    <char comment="S15; long vowel sequence, For WLE Rule #7, #11" cp="1031 102C" when="follows-c-m"/>
    <char comment="S_Sh1; Dependent Vowel Sequence for Shan Language.(See 3.3.3.2 of [Proposal-Myanmar])" cp="1031 1083" when="follows-c-m"/>
    <char comment="S19; Long vowel sequence" cp="1031 102B 103A" when="follows-c-m"/>
    <char comment="S20" cp="1031 102C 103A" when="follows-c-m"/>
    <char comment="S_Sh2; Dependent Vowel Sequence for Shan Language.(See 3.3.3.2 of [Proposal-Myanmar])" cp="1031 1083 103A" when="follows-c-m"/>
    <char comment="S21; S14 + S16" cp="1031 102B 1037 103A"/>
    <char comment="S22; S15 + S16" cp="1031 102C 1037 103A"/>
    <char cp="1032" ref="101 103" tag="dv lv sc:Mymr" when="follows-c-m"/>
    <char cp="1033" ref="101 102 103" tag="dv sc:Mymr shan" when="follows-c-m">
      <var cp="102E" type="allocatable"/>
    </char>
    <char cp="1034" ref="101 102 103" tag="dv sc:Mymr" when="follows-c-m"/>
    <char cp="1035" ref="101 105" tag="ov sc:Mymr" when="follows-c-m"/>
    <char comment="S_Mon3; Dependent Vowel Sequence for Mon Language.(See 3.3.3.4 of [Proposal-Myanmar])" cp="1035 102F" when="follows-c-m"/>
    <char cp="1036" ref="101 103" tag="anusvara dv lv sc:Mymr" when="follows-c-m"/>
    <char cp="1037" ref="101 103" tag="dv sc:Mymr t_short" when="follows-c-lv-s12"/>
    <char comment="S16; Short Vowel sequence, , For WLE Rule #7" cp="1037 103A" when="follows-cc2-mc2-dvc2-ovc2"/>
    <char comment="ST4; This is used as Tone Sequence in Pa’O Karen language. (See 3.3.5.5)" cp="1037 AA7B" when="follows-beforeST4-set"/>
    <char cp="1038" ref="101 103" tag="dv sc:Mymr t_long" when="follows-c-m-lv-s12"/>
    <char cp="1039" ref="101 103" tag="sc:Mymr virama" when="between-c"/>
    <char cp="103A" ref="101 103 105" tag="k sc:Mymr" when="follows-cc-mc-dvc-ovc"/>
    <char comment="S17; Long tone sequence, For WLE Rule #5" cp="103A 1038" when="follows-cc3-mc3-dvc3-ovc3"/>
    <char cp="103B" ref="101 103" tag="m sc:Mymr" when="follows-c-except-1005"/>
    <char cp="103C" ref="101 103" tag="m sc:Mymr" when="follows-c-except-101E"/>
    <char cp="103D" ref="101 103" tag="m sc:Mymr" when="follows-c"/>
    <char cp="103E" ref="101 103" tag="m sc:Mymr" when="follows-c-except-1003-107D"/>
    <char comment="The Myanmar Great Saa" cp="103F" ref="101" tag="c sc:Mymr" when="follows-c-m-dv-1023-1025"/>
    <char cp="105A" not-when="between-v" ref="101 102 103" tag="c sc:Mymr">
      <var cp="1004" type="allocatable"/>
    </char>
    <char cp="105A 103A" when="follows-c-m-dv-and-followed-by-c">
      <var cp="105A 103A 1039" type="allocatable"/>
    </char>
    <char comment="S_Mon4; Mon Kinzi (See 3.3.5.4)" cp="105A 103A 1039" when="follows-c-m-dv-and-followed-by-c">
      <var cp="105A 103A" type="allocatable"/>
    </char>
    <char cp="105B" not-when="between-v" ref="101 102 103" tag="c sc:Mymr">
      <var cp="1008" type="allocatable"/>
    </char>
    <char cp="105C" not-when="between-v" ref="101 102 103" tag="c sc:Mymr"/>
    <char cp="105D" not-when="between-v" ref="101 102 103" tag="c sc:Mymr"/>
    <char cp="105E" ref="101 102 103" tag="m sc:Mymr" when="follows-c"/>
    <char cp="105F" ref="101 102 103" tag="m sc:Mymr" when="follows-c"/>
    <char cp="1060" ref="101 102 103" tag="m sc:Mymr" when="follows-c"/>
    <char cp="1061" not-when="between-v" ref="101" tag="c sc:Mymr">
      <var cp="101B 103E" type="blocked"/>
    </char>
    <char cp="1062" ref="101 105" tag="dv ov sc:Mymr" when="follows-c-m"/>
    <char comment="ST1; This is used as Tone Sequence in Sgaw Karen language" cp="1062 103A" when="follows-c-m-dv"/>
    <char comment=" S_Sh4; Dependent Vowel Sequence for Shan Language. (See 3.3.3.2 of [Proposal-Myanmar])" cp="1062 1086" when="follows-c-m"/>
    <char comment="ST3; This is used as Tone Sequence in Sgaw Karen language. (See 3.3.5.3 of [Proposal-Myanmar])" cp="1063 103A" when="follows-c-m-dv"/>
    <char cp="1064" ref="101" tag="sc:Mymr sgaw_tone" when="follows-c-m-dv"/>
    <char cp="1075" not-when="between-v" ref="101 105" tag="c c3 sc:Mymr shan">
      <var cp="1000" type="allocatable"/>
    </char>
    <char comment="CM26" cp="1075 103B 103D"/>
    <char cp="1076" not-when="between-v" ref="101 105" tag="c sc:Mymr shan">
      <var cp="1001" type="allocatable"/>
    </char>
    <char comment="CM27" cp="1076 103B 103D"/>
    <char cp="1077" not-when="between-v" ref="101 105" tag="c sc:Mymr shan">
      <var cp="0D31" type="blocked"/>
      <var cp="1002" type="allocatable"/>
      <var cp="10D8" type="blocked"/>
    </char>
    <char cp="1078" not-when="between-v" ref="101 105" tag="c sc:Mymr shan">
      <var cp="1005" type="allocatable"/>
    </char>
    <char cp="1079" not-when="between-v" ref="101 105" tag="c sc:Mymr shan">
      <var cp="1007" type="allocatable"/>
    </char>
    <char cp="107A" not-when="between-v" ref="101 105" tag="c c3 sc:Mymr shan">
      <var cp="100A" type="allocatable"/>
    </char>
    <char cp="107B" not-when="between-v" ref="101 105" tag="c sc:Mymr"/>
    <char cp="107C" not-when="between-v" ref="101 105" tag="c c3 sc:Mymr shan">
      <var cp="100F" type="allocatable"/>
      <var cp="1014" type="allocatable"/>
    </char>
    <char cp="107D" not-when="between-v" ref="101 105" tag="c sc:Mymr shan">
      <var cp="1016" type="allocatable"/>
    </char>
    <char cp="107E" not-when="between-v" ref="101 105" tag="c sc:Mymr"/>
    <char cp="107F" not-when="between-v" ref="101 105" tag="c sc:Mymr shan">
      <var cp="1017" type="allocatable"/>
    </char>
    <char cp="1080" not-when="between-v" ref="101 105" tag="c sc:Mymr"/>
    <char cp="1081" not-when="between-v" ref="101 105" tag="c sc:Mymr"/>
    <char cp="1082" ref="101 105" tag="m sc:Mymr" when="follows-c"/>
    <char comment="S_Sh5; Dependent Vowel Sequence for Shan Language. (See 3.3.3.2 of [Proposal-Myanmar])" cp="1082 103A" when="follows-c-m"/>
    <char cp="1083" ref="101 105" tag="dv sc:Mymr sh_vowel shan" when="follows-c-m">
      <var cp="102B" type="allocatable"/>
      <var cp="102C" type="allocatable"/>
    </char>
    <char cp="1084" ref="101 105" tag="dv sc:Mymr sh_vowel" when="follows-c-m"/>
    <char cp="1085" ref="101 105" tag="ov sc:Mymr" when="follows-c-m"/>
    <char cp="1086" ref="101 105" tag="dv sc:Mymr sh_vowel" when="follows-c-m"/>
    <char cp="1087" ref="101 105" tag="sc:Mymr sh_tone" when="follows-beforeShanTone-set"/>
    <char cp="1088" ref="101 105" tag="sc:Mymr sh_tone" when="follows-beforeShanTone-set"/>
    <char cp="1089" ref="101 105" tag="sc:Mymr sh_tone" when="follows-beforeShanTone-set"/>
    <char cp="108A" ref="101 105" tag="sc:Mymr sh_tone" when="follows-beforeShanTone-set"/>
    <char cp="108F" ref="101 106 108" tag="pao_tone sc:Mymr" when="follows-beforePaoTone-set"/>
    <char comment="Not part of repertoire" cp="10D7" tag="sc:Geor">
      <var cp="1010" type="blocked"/>
      <var comment="Out-of-repertoire-var" cp="10D7" type="out-of-repertoire-var"/>
    </char>
    <char comment="Not part of repertoire" cp="10D8" tag="sc:Geor">
      <var cp="0D31" type="blocked"/>
      <var cp="1002" type="blocked"/>
      <var cp="1077" type="blocked"/>
      <var comment="Out-of-repertoire-var" cp="10D8" type="out-of-repertoire-var"/>
    </char>
    <char cp="AA7B" ref="101 106 108" tag="pao_tone sc:Mymr" when="follows-beforePaoTone-set"/>
  </data>
  <rules>
    <class name="c" from-tag="c" comment="Any Myanmar consonant"/>
    <class name="m" from-tag="m" comment="Any Myanmar medial"/>
    <class name="dv" from-tag="dv" comment="Any Myanmar dependent vowel"/>
    <class name="ov" from-tag="ov" comment="Any Myanmar Other Vowel Sign"/>
    <class name="c2" from-tag="c2" comment="U+1004(င), U+1009(ဉ), U+100A(ည), U+100F(ဏ), U+1014(န), U+1019(မ), U+101A(ယ)"/>
    <class name="c3" from-tag="c3" comment="U+1004(င), U+1009(ဉ), U+100A(ည), U+100F(ဏ), U+1014(န), U+1019(မ), U+101D(ဝ)"/>
    <class name="lv" from-tag="lv" comment="Long Vowel: 102B, 102C, 102E, 1030, 1031, 1032, 1036"/>
    <class name="sh_vowel" from-tag="sh_vowel" comment="Shan vowel"/>
    <class name="k" from-tag="k" comment="The Myanmar Asat (killer)"/>
    <class name="v" from-tag="virama" comment="The Myanmar Virama"/>
    <class name="c_pao" comment="Pao Consonants">1000-1021 103F</class>
    <class name="m_pao" comment="Pao Medials">103B 103C 103D</class>
    <class name="cp1005" comment="code point 1005">1005</class>
    <class name="cp101E" comment="Code point 101E">101E</class>
    <class name="cp1003cp107D" comment="Code point 101E or 107D">1003 107D</class>
    <class name="cp1002cp1015cp101D" comment="Code point 1002, 1015, 101D">1002 1015 101D</class>
    <rule name="leading-combining-mark" comment="Default WLE rule matching labels with leading combining marks ⍟">
      <start/>
      <union>
        <class property="gc:Mn"/>
        <class property="gc:Mc"/>
      </union>
    </rule>
    <rule name="invalid-myanmar-label" comment="Temp rule to force 1000-1039-1000-1039-1000 to be invalid">
	<start/>
		<char cp="1000 1039 1000 1039 1000" count="1+"/>
	<end/>
</rule>
    <rule name="no-mix-mm-i-and-mm-ka-v-ka" comment="WLE Rule No Mix 1: do not mix MYANMAR I and MYANMAR KA VIRAMA KA in the same label">  <choice><rule><char cp="1023"/><any count="0+"/><char cp="1000 1039 1000"/></rule><rule><char cp="1000 1039 1000"/><any count="0+"/><char cp="1023"/></rule></choice></rule>
    <rule name="no-mix-mm-ha-asat-and-mm-pa-aa-asat" comment="WLE Rule No Mix 2: do not mix MYANMAR HA ASAT and MYANMAR PA AA ASAT in the same label">  <choice><rule><char cp="101F 103A"/><any count="0+"/><char cp="1015 102C 103A"/></rule><rule><char cp="1015 102C 103A"/><any count="0+"/><char cp="101F 103A"/></rule></choice></rule>
    <rule name="no-mix-sk-sha-and-mm-ra-mha" comment="WLE Rule No Mix 3: do not mix SKAW KAREN SHA and MYANMAR RA medial-HA in the same label">  <choice><rule><char cp="1061"/><any count="0+"/><char cp="101B"/></rule><rule><char cp="101B"/><any count="0+"/><char cp="1061"/></rule></choice></rule>
    <rule name="no-mix-mm-nga-and-mon-kha" comment="WLE Rule No Mix 4: do not mix MYANMAR NGA and MON NGA in the same label">  <choice><rule><char cp="1004"/><any count="0+"/><char cp="105A"/></rule><rule><char cp="105A"/><any count="0+"/><char cp="1004"/></rule></choice></rule>
    <rule name="no-mix-mm-jha-and-mon-jha" comment="WLE Rule No Mix 5: do not mix MYANMAR JHA and MON JHA in the same label">  <choice><rule><char cp="1008"/><any count="0+"/><char cp="105B"/></rule><rule><char cp="105B"/><any count="0+"/><char cp="1008"/></rule></choice></rule>
    <rule name="no-mix-mm-e-and-mon-e" comment="WLE Rule No Mix 6: do not mix MYANMAR E and MON E in the same label">  <choice><rule><char cp="1027"/><any count="0+"/><char cp="1028"/></rule><rule><char cp="1028"/><any count="0+"/><char cp="1027"/></rule></choice></rule>
    <rule name="no-mix-mm-ka-and-shan-ka" comment="WLE Rule No Mix 7: do not mix MYANMAR and SHAN KA in the same label">  <choice><rule><char cp="1000"/><any count="0+"/><char cp="1075"/></rule><rule><char cp="1075"/><any count="0+"/><char cp="1000"/></rule></choice></rule>
    <rule name="no-mix-mm-kha-and-shan-kha" comment="WLE Rule No Mix 8: do not mix MYANMAR KHA and SHAN KHA in the same label">  <choice><rule><char cp="1001"/><any count="0+"/><char cp="1076"/></rule><rule><char cp="1076"/><any count="0+"/><char cp="1001"/></rule></choice></rule>
    <rule name="no-mix-mm-ga-and-shan-ga" comment="WLE Rule No Mix 9: do not mix MYANMAR GA and SHAN GA in the same label">  <choice><rule><char cp="1002"/><any count="0+"/><char cp="1077"/></rule><rule><char cp="1077"/><any count="0+"/><char cp="1002"/></rule></choice></rule>
    <rule name="no-mix-mm-ca-and-shan-ca" comment="WLE Rule No Mix 10: do not mix MYANMAR CA and SHAN CA in the same label">  <choice><rule><char cp="1005"/><any count="0+"/><char cp="1078"/></rule><rule><char cp="1078"/><any count="0+"/><char cp="1005"/></rule></choice></rule>
    <rule name="no-mix-mm-ja-and-shan-za" comment="WLE Rule No Mix 11: do not mix MYANMAR JA and SHAN ZA in the same label">  <choice><rule><char cp="1007"/><any count="0+"/><char cp="1079"/></rule><rule><char cp="1079"/><any count="0+"/><char cp="1007"/></rule></choice></rule>
    <rule name="no-mix-mm-nnya-and-shan-nya" comment="WLE Rule No Mix 12: do not mix MYANMAR NNYA and SHAN NYA in the same label">  <choice><rule><char cp="100A"/><any count="0+"/><char cp="107A"/></rule><rule><char cp="107A"/><any count="0+"/><char cp="100A"/></rule></choice></rule>
    <rule name="no-mix-mm-nna-and-shan-na" comment="WLE Rule No Mix 13: do not mix MYANMAR NNA and SHAN NA in the same label">  <choice><rule><char cp="100F"/><any count="0+"/><char cp="107C"/></rule><rule><char cp="107C"/><any count="0+"/><char cp="100F"/></rule></choice></rule>
    <rule name="no-mix-mm-na-and-shan-na" comment="WLE Rule No Mix 14: do not mix MYANMAR NA and SHAN NA in the same label">  <choice><rule><char cp="1014"/><any count="0+"/><char cp="107C"/></rule><rule><char cp="107C"/><any count="0+"/><char cp="1014"/></rule></choice></rule>
    <rule name="no-mix-mm-pha-and-shan-pha" comment="WLE Rule No Mix 15: do not mix MYANMAR PHA and SHAN PHA in the same label">  <choice><rule><char cp="1016"/><any count="0+"/><char cp="107D"/></rule><rule><char cp="107D"/><any count="0+"/><char cp="1016"/></rule></choice></rule>
    <rule name="no-mix-mm-ba-and-shan-ba" comment="WLE Rule No Mix 16: do not mix MYANMAR BA and SHAN BA in the same label">  <choice><rule><char cp="1017"/><any count="0+"/><char cp="107F"/></rule><rule><char cp="107F"/><any count="0+"/><char cp="1017"/></rule></choice></rule>
    <rule name="no-mix-mm-a-and-shan-a" comment="WLE Rule No Mix 17: do not mix MYANMAR A and SHAN A in the same label">  <choice><rule><char cp="1021"/><any count="0+"/><char cp="1022"/></rule><rule><char cp="1022"/><any count="0+"/><char cp="1021"/></rule></choice></rule>
    <rule name="no-mix-mm-ii-and-mon-ii" comment="WLE Rule No Mix 18: do not mix MYANMAR II and MON II  in the same label">  <choice><rule><char cp="102E"/><any count="0+"/><char cp="1033"/></rule><rule><char cp="1033"/><any count="0+"/><char cp="102E"/></rule></choice></rule>
    <rule name="no-mix-mm-tall-aa-and-shan-aa" comment="WLE Rule No Mix 19: do not mix MYANMAR TALL AA and SHAN AA in the same label">  <choice><rule><char cp="102B"/><any count="0+"/><char cp="1083"/></rule><rule><char cp="1083"/><any count="0+"/><char cp="102B"/></rule></choice></rule>
    <rule name="no-mix-mm-aa-and-shan-aa" comment="WLE Rule No Mix 20: do not mix MYANMAR AA and SHAN AA in the same label">  <choice><rule><char cp="102C"/><any count="0+"/><char cp="1083"/></rule><rule><char cp="1083"/><any count="0+"/><char cp="102C"/></rule></choice></rule>
    <rule name="no-mix-mm-nga-asat-and-mm-nga-asat-v" comment="WLE Rule No Mix 22: do not mix MYANMAR NGA ASAT and MYANMAR NGA ASAT VIRAMA in the same label">  <choice><rule><char cp="1004 103A"/><any count="0+"/><char cp="1004 103A 1039"/></rule><rule><char cp="1004 103A 1039"/><any count="0+"/><char cp="1004 103A"/></rule></choice></rule>
    <rule name="no-mix-mon-nga-asat-and-mon-nga-asat-v" comment="WLE Rule No Mix 23: do not mix MON NGA ASAT and MON NGA ASAT VIRAMA in the same label">  <choice><rule><char cp="105A 103A"/><any count="0+"/><char cp="105A 103A 1039"/></rule><rule><char cp="105A 103A 1039"/><any count="0+"/><char cp="105A 103A"/></rule></choice></rule>
    <rule name="S12" comment="Long vowel sequence, For WLE Rule #10, #11">
      <char cp="102D 102F"/>
    </rule>
    <rule name="S_Pao" comment="Dependent Vowel Sequence for Pa’O Language. This must follow c_pao or m_pao (See 3.3.3.5)">
      <char cp="102F 1032"/>
    </rule>
    <rule name="S13" comment="long vowel sequence, For WLE Rule #10, #11">
      <char cp="102F 1036"/>
    </rule>
    <rule name="S14" comment="long vowel sequence, For WLE Rule #7, #11">
      <char cp="1031 102B"/>
    </rule>
    <rule name="S15" comment="long vowel sequence, For WLE Rule #7, #11">
      <char cp="1031 102C"/>
    </rule>
    <rule name="S_Sh2" comment="Dependent Vowel Sequence for Shan Language. (See 3.3.3.2 of [Proposal-Myanmar])">
      <char cp="1031 1083 103A"/>
    </rule>
    <rule name="S_Sh5" comment="Dependent Vowel Sequence for Shan Language. (See 3.3.3.2 of [Proposal-Myanmar])">
      <char cp="1082 103A"/>
    </rule>
    <rule name="follows-c-m" comment="Section 7, WLE 1, 2: Some sets must follow C or M. The set are DV, LV, SV, S12-S15, S18-S20, S_MON3, S_Sh1-S_Sh5, s_Pao, OV, Anusavara">
      <look-behind>
        <choice>
          <class by-ref="c"/>
          <class by-ref="m"/>
        </choice>
      </look-behind>
      <anchor/>
    </rule>
    <rule name="follows-c" comment="Section 7, WLE 3: M follow C.">
      <look-behind>
        <class by-ref="c"/>
      </look-behind>
      <anchor/>
    </rule>
    <rule name="follows-c-m-dv-1023-1025" comment="Section 7, WLE 4: The Myanmar Great Saa must follow C or M or DV or 1023 or 1025">
      <look-behind>
        <choice>
          <class by-ref="c"/>
          <class by-ref="m"/>
          <class by-ref="dv"/>
          <char cp="1023"/>
          <char cp="1025"/>
        </choice>
      </look-behind>
      <anchor/>
    </rule>
    <rule name="follows-cc-mc-dvc-ovc" comment="Section 7, WLE 5: C+K must follow C or M or DV or OV">
      <look-behind>
        <choice>
          <rule comment="consonant-preceded-by-consonant">
            <class by-ref="c"/>
            <class by-ref="c"/>
          </rule>
          <rule comment="consonant-preceded-by-medial">
            <class by-ref="m"/>
            <class by-ref="c"/>
          </rule>
          <rule comment="consonant-preceded-by-dependent-vowel">
            <class by-ref="dv"/>
            <class by-ref="c"/>
          </rule>
          <rule comment="consonant-preceded-by-other-vowel-sign">
            <class by-ref="ov"/>
            <class by-ref="c"/>
          </rule>
        </choice>
      </look-behind>
      <anchor/>
    </rule>
    <rule name="follows-cc2-mc2-dvc2-ovc2" comment="Section 7, WLE 5: C2+S16 must follow C or M or DV or OV">
      <look-behind>
        <choice>
          <rule comment="consonant2-preceded-by-consonant">
            <class by-ref="c"/>
            <class by-ref="c2"/>
          </rule>
          <rule comment="consonant2-preceded-by-medial">
            <class by-ref="m"/>
            <class by-ref="c2"/>
          </rule>
          <rule comment="consonant2-preceded-by-dv">
            <class by-ref="dv"/>
            <class by-ref="c2"/>
          </rule>
          <rule comment="consonant2-preceded-by-other-vowel-sign">
            <class by-ref="ov"/>
            <class by-ref="c2"/>
          </rule>
        </choice>
      </look-behind>
      <anchor/>
    </rule>
    <rule name="follows-cc3-mc3-dvc3-ovc3" comment="Section 7, WLE 5: C3+S17 must follow C or M or DV or OV">
      <look-behind>
        <choice>
          <rule comment="consonant3-preceded-by-consonant">
            <class by-ref="c"/>
            <class by-ref="c3"/>
          </rule>
          <rule comment="consonant3-preceded-by-medial">
            <class by-ref="m"/>
            <class by-ref="c3"/>
          </rule>
          <rule comment="consonant3-preceded-by-dv">
            <class by-ref="dv"/>
            <class by-ref="c3"/>
          </rule>
          <rule comment="consonant3-preceded-by-other-vowel-sign">
            <class by-ref="ov"/>
            <class by-ref="c3"/>
          </rule>
        </choice>
      </look-behind>
      <anchor/>
    </rule>
    <rule name="follows-c-m-dv-and-followed-by-c" comment="Section 7, WLE 6, 14:   must follow C or M or DV  and another C must follow S11">
      <look-behind>
        <choice>
          <class by-ref="c"/>
          <class by-ref="m"/>
          <class by-ref="dv"/>
        </choice>
      </look-behind>
      <anchor/>
      <look-ahead>
        <class by-ref="c"/>
      </look-ahead>
    </rule>
    <rule name="between-c" comment="Section 7, WLE 6, 7">
      <look-behind>
        <class by-ref="c"/>
      </look-behind>
      <anchor/>
      <look-ahead>
        <class by-ref="c"/>
      </look-ahead>
    </rule>
    <rule name="follows-c-m-lv-s12" comment="Section 7, WLE 8: T_LONG must follow C or M or LV or S12">
      <look-behind>
        <choice>
          <class by-ref="c"/>
          <class by-ref="m"/>
          <class by-ref="lv"/>
          <rule by-ref="S12"/>
        </choice>
      </look-behind>
      <anchor/>
    </rule>
    <rule name="follows-c-lv-s12" comment="Section 7, WLE 9: T_SHORT must follow C or LV">
      <look-behind>
        <choice>
          <class by-ref="c"/>
          <class by-ref="lv"/>
          <rule by-ref="S12"/>
        </choice>
      </look-behind>
      <anchor/>
    </rule>
    <rule name="ck" comment="C followed by K, for WLE #7">
      <class by-ref="c"/>
      <class by-ref="k"/>
    </rule>
    <rule name="follows-beforeShanTone-set" comment="Section 7, WLE 10: Sh_Tone must follow Sh_Vowel or (C+K) or S_Sh2 or S_Sh5">
      <look-behind>
        <choice>
          <class by-ref="sh_vowel"/>
          <rule by-ref="ck"/>
          <rule by-ref="S_Sh2"/>
          <rule by-ref="S_Sh5"/>
        </choice>
      </look-behind>
      <anchor/>
    </rule>
    <rule name="follows-beforePaoTone-set" comment="Section 7, WLE 11: Pao_Tone must follow DV or K">
      <look-behind>
        <choice>
          <class by-ref="dv"/>
          <class by-ref="k"/>
        </choice>
      </look-behind>
      <anchor/>
    </rule>
    <rule name="follows-c_pao-m_pao" comment="Section 7, WLE 11: S_Pao must follow a Pa’O Consonant or Pa’O Medial">
      <look-behind>
        <choice>
          <class by-ref="c_pao"/>
          <class by-ref="m_pao"/>
        </choice>
      </look-behind>
      <anchor/>
    </rule>
    <rule name="follows-beforeST4-set" comment="Section 7, WLE 12: ST4 must follow U+1031, U+1032, S12, S14, S15">
      <look-behind>
        <choice>
          <char cp="1031"/>
          <char cp="1032"/>
          <rule by-ref="S12"/>
          <rule by-ref="S14"/>
          <rule by-ref="S15"/>
        </choice>
      </look-behind>
      <anchor/>
    </rule>
    <rule name="follows-c-m-dv" comment="Section 7, WLE 13: ST1, ST2, ST3 or Sgaw_Tone must follow C or M or DV">
      <look-behind>
        <choice>
          <class by-ref="c"/>
          <class by-ref="m"/>
          <class by-ref="dv"/>
        </choice>
      </look-behind>
      <anchor/>
    </rule>
    <rule name="between-v" comment="Section7, WLE15 to prevent C-V-C-V">
      <look-behind>
        <class by-ref="v"/>
      </look-behind>
      <anchor/>
      <look-ahead>
        <class by-ref="v"/>
      </look-ahead>
    </rule>
    <rule name="follows-c-except-1005" comment="WLE: Medial 103B can follow any C except 1005">
      <look-behind>  
          <difference>
          <class by-ref="c"/>
          <class by-ref="cp1005"/>
            </difference>

      </look-behind>
      <anchor/>
</rule>
    <rule name="follows-c-except-101E" comment="WLE: Medial 103C can follow any C except 101E">
      <look-behind>  
          <difference>
          <class by-ref="c"/>
          <class by-ref="cp101E"/>
            </difference>

      </look-behind>
      <anchor/>
</rule>
    <rule name="follows-c-except-1003-107D" comment="WLE: Medial 103E can follow any C except 1003 and 107D">
      <look-behind>  
          <difference>
          <class by-ref="c"/>
          <class by-ref="cp1003cp107D"/>
            </difference>

      </look-behind>
      <anchor/>
</rule>
    <rule name="precedes-v" comment="Rule for variant 1000 1039 1000, to prevent 1000 1039 1000 1039">
      <anchor/>
      <look-ahead>
        <class by-ref="v"/>
      </look-ahead>
</rule>
    <rule name="follows-m-or-c-except-1002-1015-101D" comment="WLE15: U+102C follows C or M except U+1002, U+1015, U+101D">
      <look-behind>  
        <choice>
          <class by-ref="m"/>
          <difference>
          <class by-ref="c"/>
          <class by-ref="cp1002cp1015cp101D"/>
          </difference>
        </choice>
      </look-behind>
      <anchor/>
</rule>
    <action disp="invalid" match="leading-combining-mark" comment="labels with leading combining marks are invalid ⍟"/>
    <action disp="invalid" any-variant="out-of-repertoire-var" comment="any variant label with a code point out of repertoire is invalid ⍟"/>
    <action disp="invalid" match="invalid-myanmar-label" comment="Force 1000-1039-1000-1039-1000 to be invalid "/>
    <action disp="invalid" match="no-mix-mm-i-and-mm-ka-v-ka" comment="do not mix MYANMAR I and MYANMAR KA VIRAMA KA in the same label"/>
    <action disp="invalid" match="no-mix-mm-ha-asat-and-mm-pa-aa-asat" comment="do not mix MYANMAR HA ASAT and MYANMAR PA AA ASAT in the same label"/>
    <action disp="invalid" match="no-mix-sk-sha-and-mm-ra-mha" comment="do not mix SKAW KAREN SHA and MYANMAR RA medial-HA in the same label"/>
    <action disp="invalid" match="no-mix-mm-nga-and-mon-kha" comment="do not mix MYANMAR NGA and MON NGA in the same label"/>
    <action disp="invalid" match="no-mix-mm-jha-and-mon-jha" comment="do not mix MYANMAR JHA and MON JHA in the same label"/>
    <action disp="invalid" match="no-mix-mm-e-and-mon-e" comment="do not mix MYANMAR E and MON E in the same label"/>
    <action disp="invalid" match="no-mix-mm-ka-and-shan-ka" comment="do not mix MYANMAR KA and SHAN KA in the same label"/>
    <action disp="invalid" match="no-mix-mm-kha-and-shan-kha" comment="do not mix MYANMAR KHA and SHAN KHA in the same label"/>
    <action disp="invalid" match="no-mix-mm-ga-and-shan-ga" comment="do not mix MYANMAR GA and SHAN GA in the same label"/>
    <action disp="invalid" match="no-mix-mm-ca-and-shan-ca" comment="do not mix MYANMAR CA and SHAN CA in the same label"/>
    <action disp="invalid" match="no-mix-mm-ja-and-shan-za" comment="do not mix MYANMAR JA and SHAN ZA in the same label"/>
    <action disp="invalid" match="no-mix-mm-nnya-and-shan-nya" comment="do not mix MYANMAR NNYA and SHAN NYA in the same label"/>
    <action disp="invalid" match="no-mix-mm-nna-and-shan-na" comment="do not mix MYANMAR NNA and SHAN NA in the same label"/>
    <action disp="invalid" match="no-mix-mm-na-and-shan-na" comment="do not mix MYANMAR NA and SHAN NA in the same label"/>
    <action disp="invalid" match="no-mix-mm-pha-and-shan-pha" comment="do not mix MYANMAR PHA and SHAN PHA in the same label"/>
    <action disp="invalid" match="no-mix-mm-ba-and-shan-ba" comment="do not mix MYANMAR BA and SHAN BA in the same label"/>
    <action disp="invalid" match="no-mix-mm-a-and-shan-a" comment="do not mix MYANMAR A and SHAN A in the same label"/>
    <action disp="invalid" match="no-mix-mm-ii-and-mon-ii" comment="do not mix MYANMAR II and MON II in the same label"/>
    <action disp="invalid" match="no-mix-mm-tall-aa-and-shan-aa" comment="do not mix MYANMAR TALL AA and SHAN AA in the same label"/>
    <action disp="invalid" match="no-mix-mm-aa-and-shan-aa" comment="do not mix MYANMAR AA and SHAN AA in the same label"/>
    <action disp="invalid" match="no-mix-mm-nga-asat-and-mm-nga-asat-v" comment="do not mix MYANMAR NGA ASAT and MYANMAR NGA ASAT VIRAMA in the same label"/>
    <action disp="invalid" match="no-mix-mon-nga-asat-and-mon-nga-asat-v" comment="do not mix MON NGA ASAT and MON NGA ASAT VIRAMA in the same label"/>
    <action disp="blocked" any-variant="blocked" comment="any variant label containing blocked variants is blocked ⍟"/>
    <action disp="allocatable" all-variants="allocatable" comment="variant labels with all variants allocatable are allocatable ⍟"/>
    <action disp="valid" comment="catch all (default action) ⍟"/>
  </rules>
</lgr>
