Interesting idea.
I have never learned/tried any script about filter (perhaps also a popup GUI to choose them), so I will need some time to investigate how to do it.
Just released 0.17.4, which allows using circuit network signals to filter/limit items to be collected. Hope it fits your request.
Please see FAQ for details and an example.