Applying Scripted Actions is similar to hard-coded SQL statements for searching on a Type. The Filters are quite useful because they can be applied to different Groups, although a limitation is that they are fixed rather than than dynamic, and they never change according to context. They always filter on exactly the same thing.
A Relationship filter can work more dynamically according to context - compared to Standard Filters.
Creating and Editing a Filter
You can visit our tutorial on How to create Filters to know more on how you can create Filters.
You can see how Filters are created and used in this video below: