rule test_1
├─ strings
│ └─ $a = "foo"
└─ condition
└─ $a
rule test_2
├─ strings
│ └─ $a = "foo"
└─ condition
└─ $a in (<start>, <end>)
├─ <start>
│ └─ 0
└─ <end>
└─ 10
rule test_3
├─ strings
│ └─ $a = "foo"
└─ condition
└─ $a at <expr>
└─ <expr>
└─ filesize
rule test_4
├─ strings
│ └─ $a = "foo"
└─ condition
└─ #a in <range>
└─ <range>
├─ 0
└─ 10
rule test_5
├─ strings
│ └─ $a = "foo"
└─ condition
└─ and
├─ eq
│ ├─ @a
│ └─ 10
└─ eq
├─ @a[<index>]
│ └─ <index>
│ └─ 0
└─ 10
rule test_6
├─ strings
│ └─ $a = "foo"
└─ condition
└─ and
├─ eq
│ ├─ !a
│ └─ 10
└─ eq
├─ !a[<index>]
│ └─ <index>
│ └─ add
│ ├─ 1
│ └─ 1
└─ 10