Parse boolean operations