This is one of the features, I want to implement with fedi-herds.
The main current obstacle for me is: How would you want to specify the filter rules? One would need to develop a way to describe filters on Objects / Activities. Solutions like Pleroma's MRF are just "let's write code".
If you want to allow users to write filters, you want a more limited DSL...