Advanced Rules / docs improvement

Hi, I’m quite new to this place and searched a little bit, but I didn’t find anything similar on the first look.
The rules are wonderful, but in my case working isn’t just working, it would be a great addition to allow Boolean rules. ( unsure if this is the proper expression, I don’t write in my mother language)

let me give you an example:
I writing android apps or rust applications, some for a centrain company some for my own.
to express that windows with titles like rust or mycompany are for work is good but would include windows, and therefore time that I spend with other development. the ideal would be a rule for the case that, maybe the parent should match first. like jetbrains is development, but jetbrains and company is work, and jetbrains and OSS is opensource

I’m not sure by reading the docs if subcategories work this way. but if they do, it would be nice to add an example to them to explain how to use categories for this case.