[{"bid":"P","description":"No opening bid","requires":"(hcp < 12 and not ruleof21)"},{"bid":"1C","description":"12-21 HCP, 3+ clubs","requires":"((ruleof21 and hcp<= 21) and (clublongest or explicitshape == '4=3=3=3' or explicitshape == '3=4=3=3' or explicitshape == '4=4=2=3') ) | ((HCP >= 12 and hcp<= 21) and (clublongest or explicitshape == '4=3=3=3' or explicitshape == '3=4=3=3' or explicitshape == '4=4=2=3') )"},{"bid":"1D","description":"12-21 HCP, 3+ diamonds","requires":"((ruleof21 and hcp<= 21) and (diamondlongest or explicitshape == '4=4=3=2')) | ((HCP >= 12 and hcp<= 21) and (diamondlongest or explicitshape == '4=4=3=2'))"},{"bid":"1H","description":"12-21 HCP, 5+ hearts","requires":"(ruleof21 and hcp<= 21 and Opening1H) | ((HCP >= 12 and hcp<= 21) and Opening1H)"},{"bid":"1S","description":"12-21 HCP, 5+ spades","requires":"(ruleof21 and hcp<= 21 and spades >= 5 and spadelongest) | (hcp>= 12 and hcp<= 21 and Opening1S)"},{"bid":"1N","description":"Balanced hand, 15-17 HCP","requires":"(Balanced and hcp>= 15 and hcp<= 16 and H == 5) | (Balanced and hcp>= 15 and hcp<= 16 and S == 5) | ((Balanced or semibalanced) and hcp>= 15 and hcp<= 17 and S <= 4 and H <= 4)"},{"bid":"2C","description":"Strong","requires":"(hcp>= 18 and (not twosuited or hcp >= 20) and bestsuit('C') and C >= 6 and losers <= 2 and aces >= 2) | (hcp>= 18 and (not twosuited or hcp >= 20) and bestsuit('D') and D >= 6 and losers <= 2 and aces >= 2) | (hcp>= 18 and (not twosuited or hcp >= 20) and bestsuit('H') and H >= 6 and losers <= 3 and aces >= 2) | (hcp>= 18 and (not twosuited or hcp >= 20) and bestsuit('S') and S >= 6 and losers <= 3 and aces >= 2) | (hcp>= 22 and (balanced or semibalanced)) | (hcp>= 22 and losers <= 5)"},{"bid":"2D","description":"Weak two diamond","requires":"(diamonds >= 6 and hcp<= 11 and totalpoints >= 7 and clubs <= 4 and hearts <= 3 and spades <= 3)"},{"bid":"2H","description":"Weak / Weak 2 H","requires":"(hearts >= 6 and hcp<= 11 and totalpoints >= 7 and clubs <= 4 and diamonds <= 5 and spades <= 3) | (hcp<= 10 and H == 6 and hcp> 4 and singlesuited and loserlevel >= 2 and H_points >= 6)"},{"bid":"2S","description":"Weak / Weak 2 S","requires":"(spades >= 6 and hcp<= 11 and totalpoints >= 7 and clubs <= 4 and diamonds <= 5 and hearts <= 3) | (hcp<= 10 and S == 6 and hcp> 4 and singlesuited and loserlevel >= 2 and S_points >= 6)"},{"bid":"2N","description":"Balanced hand, 20-21 HCP","requires":"(balish and hcp>= 20 and hcp<= 21)"},{"bid":"3C","description":"Preempt / Preempt, good suit","requires":"(clubs >= 7 and hcp>= 5 and hcp<= 11 and totalpoints >= 6 and not ruleof21) | (C >= 7 and hcp>= 3 and hcp<= 10 and TwiceRebiddable('C') and loserlevel >= 3)"},{"bid":"3D","description":"Preempt / Preempt, good suit","requires":"(diamonds >= 7 and hcp>= 5 and hcp<= 11 and totalpoints >= 6 and not ruleof21) | (D >= 7 and hcp>= 3 and hcp<= 10 and TwiceRebiddable('D') and loserlevel >= 3)"},{"bid":"3H","description":"Preempt / Preempt, good suit","requires":"(hearts >= 7 and hcp>= 5 and hcp<= 11 and totalpoints >= 6 and not ruleof21) | (H >= 7 and hcp>= 3 and hcp<= 10 and TwiceRebiddable('H') and loserlevel >= 3)"},{"bid":"3S","description":"Preempt / Preempt, good suit","requires":"(spades >= 7 and hcp>= 5 and hcp<= 11 and totalpoints >= 6 and not ruleof21) | (S >= 7 and hcp>= 3 and hcp<= 10 and TwiceRebiddable('S') and loserlevel >= 3)"},{"bid":"3N","description":"Balanced hand, 25-27 HCP","requires":"(balish and hcp>= 25 and hcp<= 27 and H<= 4 and S <= 4)"},{"bid":"4C","description":"Preempt","requires":"(C >= 8 and hcp>= 5 and hcp<= 11 and loserlevel >= 3) | (C >= 7 and hcp>= 5 and hcp<= 11 and loserlevel >= 4)"},{"bid":"4D","description":"Preempt","requires":"(D >= 8 and hcp>= 5 and hcp<= 11 and loserlevel >= 3) | (D >= 7 and hcp>= 5 and hcp<= 11 and loserlevel >= 4)"},{"bid":"4H","description":"Preempt","requires":"(H >= 8 and hcp>= 5 and hcp<= 11 and loserlevel >= 4) | (H >= 7 and hcp>= 9 and hcp<= 11 and loserlevel >= 4 and S <= 4)"},{"bid":"4S","description":"Preempt","requires":"(S >= 8 and hcp>= 5 and hcp<= 11 and loserlevel >= 4) | (S >= 7 and hcp>= 9 and hcp<= 11 and loserlevel >= 4 and H <= 4)"},{"bid":"5C","description":"Preempt -- 8+ C; 6-11 HCP assumed","requires":"(C >= 8 and hcp>= 6 and hcp<= 11  and loserlevel >= 4)"},{"bid":"5D","description":"Preempt -- 8+ D; 6-11 HCP assumed","requires":"(D >= 8 and hcp>= 6 and hcp<= 11  and loserlevel >= 4)"},{"bid":"5H","description":"Preempt -- 9+ H; 6-11 HCP assumed","requires":"(H >= 9 and hcp>= 6 and hcp<= 11  and loserlevel >= 5)"},{"bid":"5S","description":"Preempt -- 9+ S; 6-11 HCP assumed","requires":"(S >= 9 and hcp>= 6 and hcp<= 11  and loserlevel >= 5)"},{"bid":"6C","description":"Strong rebiddable C; 32+ total points","requires":"(clubs >= 9 and totalpoints >= 32)"},{"bid":"6D","description":"Strong rebiddable D; 32+ total points","requires":"(diamonds >= 9 and totalpoints >= 32)"},{"bid":"6H","description":"Strong rebiddable H; 32+ total points","requires":"(hearts >= 9 and totalpoints >= 32)"},{"bid":"6S","description":"Strong rebiddable S; 32+ total points","requires":"(spades >= 9 and totalpoints >= 32)"},{"bid":"6N","description":"33-34 HCP","requires":"(balanced and hcp>= 33 and hcp<= 34)"},{"bid":"7C","description":"31+ HCP; strong rebiddable C; 35+ total points","requires":"(clubs >= 9 and hcp>= 31 and totalpoints >= 35)"},{"bid":"7D","description":"31+ HCP; strong rebiddable D; 35+ total points","requires":"(diamonds >= 9 and hcp>= 31 and totalpoints >= 35)"},{"bid":"7H","description":"31+ HCP; strong rebiddable H; 35+ total points","requires":"(hearts >= 9 and hcp>= 31 and totalpoints >= 35)"},{"bid":"7S","description":"31+ HCP; strong rebiddable S; 35+ total points","requires":"(spades >= 9 and hcp>= 31 and totalpoints >= 35)"},{"bid":"7N","description":"36+ HCP; 35+ total points","requires":"(balanced and hcp>= 36 and totalpoints >= 35)"}]