if projection 0 region 4 then projection 1 rulenum 0
if condproj 1 region 5 then projection 2 rulenum 1
if condproj 2 region 6 then projection 3 rulenum 2
if condproj 3 region 5 then projection 4 rulenum 3
if condproj 3 region 4 then projection 5 rulenum 4
if condproj 5 region 6 then projection 6 rulenum 5
if condproj 6 region 7 then projection 7 rulenum 6
if condproj 7 region 4 then projection 8 rulenum 7
if condproj 7 region 5 then projection 9 rulenum 8
if condproj 7 region 7 then projection 10 rulenum 9
if condproj 10 region 3 then projection 11 rulenum 10
if condproj 8 region 6 then projection 12 rulenum 11
if condproj 12 region 4 then projection 13 rulenum 12
if projection 0 region 5 then class 1 rulenum 13
if projection 0 region 6 then class 2 rulenum 14
if projection 0 region 7 then class 1 rulenum 15
if condproj 1 region 6 then class 2 rulenum 16
if condproj 1 region 255 then class 2 rulenum 17
if condproj 2 region 7 then class 4 rulenum 18
if condproj 2 region 255 then class 0 rulenum 19
if condproj 3 region 6 then class 1 rulenum 20
if condproj 3 region 7 then class 3 rulenum 21
if condproj 4 region 5 then class 0 rulenum 22
if condproj 4 region 255 then class 2 rulenum 23
if condproj 5 region 3 then class 2 rulenum 24
if condproj 5 region 5 then class 1 rulenum 25
if condproj 5 region 255 then class 1 rulenum 26
if condproj 6 region 3 then class 4 rulenum 27
if condproj 6 region 4 then class 1 rulenum 28
if condproj 6 region 255 then class 4 rulenum 29
if condproj 7 region 1 then class 0 rulenum 30
if condproj 8 region 5 then class 2 rulenum 31
if condproj 8 region 255 then class 0 rulenum 32
if condproj 9 region 6 then class 1 rulenum 33
if condproj 9 region 255 then class 0 rulenum 34
if condproj 10 region 4 then class 0 rulenum 35
if condproj 10 region 6 then class 4 rulenum 36
if condproj 10 region 7 then class 0 rulenum 37
if condproj 10 region 255 then class 0 rulenum 38
if condproj 11 region 6 then class 0 rulenum 39
if condproj 11 region 255 then class 0 rulenum 40
if condproj 12 region 6 then class 2 rulenum 41
if condproj 12 region 255 then class 0 rulenum 42
if condproj 13 region 6 then class 0 rulenum 43
if condproj 13 region 255 then class 0 rulenum 44
