Set boolean operands into brackets.