if projection 0 region 3 then projection 1 rulenum 0
if projection 0 region 2 then projection 2 rulenum 1
if projection 0 region 4 then projection 3 rulenum 2
if projection 0 region 5 then projection 4 rulenum 3
if projection 0 region 6 then projection 5 rulenum 4
if condproj 5 region 2 then projection 6 rulenum 5
if condproj 5 region 1 then projection 7 rulenum 6
if condproj 5 region 3 then projection 8 rulenum 7
if condproj 5 region 4 then projection 9 rulenum 8
if condproj 3 region 4 then projection 10 rulenum 9
if condproj 10 region 1 then projection 11 rulenum 10
if condproj 6 region 4 then projection 12 rulenum 11
if condproj 4 region 2 then projection 13 rulenum 12
if condproj 13 region 2 then projection 14 rulenum 13
if condproj 7 region 4 then projection 15 rulenum 14
if condproj 13 region 3 then projection 16 rulenum 15
if condproj 13 region 4 then projection 17 rulenum 16
if condproj 17 region 1 then projection 18 rulenum 17
if projection 0 region 0 then class 1 rulenum 18
if projection 0 region 1 then class 2 rulenum 19
if projection 0 region 7 then class 3 rulenum 20
if condproj 1 region 0 then class 1 rulenum 21
if condproj 1 region 1 then class 1 rulenum 22
if condproj 1 region 2 then class 3 rulenum 23
if condproj 1 region 3 then class 3 rulenum 24
if condproj 1 region 4 then class 7 rulenum 25
if condproj 1 region 5 then class 4 rulenum 26
if condproj 1 region 6 then class 3 rulenum 27 * h
if condproj 1 region 7 then class 3 rulenum 28
if condproj 2 region 0 then class 5 rulenum 29
if condproj 2 region 1 then class 5 rulenum 30
if condproj 2 region 2 then class 5 rulenum 31
if condproj 2 region 3 then class 2 rulenum 32
if condproj 3 region 0 then class 3 rulenum 33
if condproj 3 region 1 then class 5 rulenum 34
if condproj 3 region 2 then class 2 rulenum 35
if condproj 3 region 3 then class 7 rulenum 36
if condproj 3 region 5 then class 7 rulenum 37
if condproj 3 region 6 then class 7 rulenum 38
if condproj 3 region 7 then class 4 rulenum 39
if condproj 3 region 8 then class 7 rulenum 40
if condproj 4 region 0 then class 7 rulenum 41
if condproj 4 region 1 then class 4 rulenum 42 *
if condproj 5 region 0 then class 1 rulenum 43
if condproj 6 region 0 then class 5 rulenum 44
if condproj 6 region 1 then class 7 rulenum 45 *
if condproj 6 region 2 then class 7 rulenum 46
if condproj 6 region 3 then class 7 rulenum 47 *
if condproj 7 region 0 then class 5 rulenum 48
if condproj 7 region 1 then class 2 rulenum 49
if condproj 7 region 2 then class 1 rulenum 50
if condproj 7 region 3 then class 7 rulenum 51
if condproj 8 region 0 then class 7 rulenum 52
if condproj 8 region 1 then class 5 rulenum 53
if condproj 8 region 2 then class 1 rulenum 54
if condproj 8 region 3 then class 1 rulenum 55
if condproj 8 region 4 then class 5 rulenum 56
if condproj 8 region 5 then class 4 rulenum 57
if condproj 9 region 0 then class 5 rulenum 58
if condproj 9 region 1 then class 5 rulenum 59
if condproj 9 region 2 then class 1 rulenum 60
if condproj 10 region 0 then class 7 rulenum 61
if condproj 10 region 2 then class 7 rulenum 62
if condproj 10 region 3 then class 7 rulenum 63
if condproj 11 region 0 then class 5 rulenum 64
if condproj 11 region 1 then class 2 rulenum 65
if condproj 11 region 2 then class 4 rulenum 66
if condproj 11 region 3 then class 7 rulenum 67
if condproj 11 region 4 then class 4 rulenum 68 *
if condproj 12 region 0 then class 5 rulenum 69
if condproj 12 region 1 then class 5 rulenum 70
if condproj 12 region 2 then class 1 rulenum 71
if condproj 13 region 0 then class 3 rulenum 72 * 
if condproj 13 region 1 then class 3 rulenum 73
if condproj 14 region 0 then class 3 rulenum 74
if condproj 14 region 1 then class 3 rulenum 75
if condproj 14 region 2 then class 3 rulenum 76
if condproj 15 region 0 then class 7 rulenum 77
if condproj 15 region 1 then class 4 rulenum 78
if condproj 16 region 0 then class 3 rulenum 79
if condproj 16 region 1 then class 4 rulenum 80
if condproj 17 region 0 then class 3 rulenum 81
if condproj 17 region 2 then class 3 rulenum 82
if condproj 18 region 0 then class 3 rulenum 83
if condproj 18 region 1 then class 7 rulenum 84
