Builds boolean comparators