Sorry in advance if this is already well known. I recently found out that you can use not only AND when concatenating conditionals but OR and NOT as well

This means you can specifiy that a unit can be built if a building is NOT present of if one of a list of buildings is present for instance.
There are many other uses.