new parsing logic for boolean phrases
new parsing logic for boolean phrases