"Include/Exclude" function for filter bar

"Include/Exclude" function for filter bar

I would like to have an "include/exclude" choice for filters in the Grid view:

- exclude images with keyword XY
- exclude all Raw images 
- exclude Apple Photos library 
- exclude images labelled red
etc.

Filtering by star rating has already an elegant solution ( =, ≤, ≥)  but I'm missing this for most other filters.
A little addition which would make the filter bar much more powerful.

The smart folders already have include/exclude filters, so I hope to see this soon for the Grid!