parser: AND has higher precedence than OR
vtgate v3: add tests for or clauses
vtgate v3: make code reusable to prep for dmls