Using master, Currently when setting a filter, you can select match all or match any. This solution is fine when there is only two conditions but fails if there are more, eg: condA AND (condB or condC) is not possible. Use case: filter messages sent to kde-commits and that match (X-Commit-Project="kde-runtime" OR X-Commit-Directories contains "kdebase/runtime")
We need to create a interface for it. Not easy to create it. Do you have some idea ?
The Device Actions KCM (kcmshell5 solid-actions) has an editor which allows nested AND and OR conditions (visualized using a tree).