More user-friendly filter options

Right now I have a filter for messages in a certain category.

The problem is our source data provides categories and boards by their uid.

So, right now my filter looks like this:

This translates to /root/top/Chat, where Chat(314) is the category.

Is it possible to change the above to this?

Category | Is Equal To |

And if the user chooses Chat in the dropdown, the filter actually does ancestor path contains /1/3/314