CQL to CCL: add ()s for boolean sub terms