primary: with-heading
rules:
  with-heading:
    rule_ar: نعدّ الياء والسين كما تُرسمان في سورة يس، ومعهما حرفا «يس» في أوّلها،
      ونضيف البسملة المكتوبة في رأس السورة. والياء المرسومة بلا نقطتين في آخر الكلمة
      (الألف المقصورة) تُعدّ في سطرها وحدها.
    targets:
      ي:
        unit: letter
        match: ي
        scope:
        - 36
        headings: true
      ى:
        unit: letter
        match: ى
        scope:
        - 36
        headings: true
      ئ:
        unit: letter
        match: ئ
        scope:
        - 36
        headings: true
      س:
        unit: letter
        match: س
        scope:
        - 36
        headings: true
  numbered-verses:
    rule_ar: نعدّ الحروف نفسها في الآيات المرقّمة وحدها، بلا البسملة التي في رأس السورة.
    targets:
      ي:
        unit: letter
        match: ي
        scope:
        - 36
      ى:
        unit: letter
        match: ى
        scope:
        - 36
      ئ:
        unit: letter
        match: ئ
        scope:
        - 36
      س:
        unit: letter
        match: س
        scope:
        - 36
  without-opening:
    rule_ar: نعدّ الحروف نفسها في الآيات المرقّمة، ونترك «يس» في أوّل السورة.
    targets:
      ي:
        unit: letter
        match: ي
        scope:
        - 36
        sense:
          exclude:
          - '36:1'
      ى:
        unit: letter
        match: ى
        scope:
        - 36
      ئ:
        unit: letter
        match: ئ
        scope:
        - 36
      س:
        unit: letter
        match: س
        scope:
        - 36
        sense:
          exclude:
          - '36:1'
