Apparently using multiple `left` rules with T_AND and T_OR being separate solves this problem. Riiiiight....