Ok, I did a quick bit of testing. I found that the format "building requires x and not hidden_resource y" would not show up in the building browser, but "building requires x and hidden_resource dummyHR or not hidden_resource y" would show up. Functionality appears to be the same for both formats. This did not work for building level requirements, but a dummy building might work in that case, in analogy to the dummy HR.