Dynamo filter is creating multiple rules

Hello Everybody, I am new to Dynamo and I am currently trying to create a view filter and so far it has been working, only problem is it is creating multiple Rules. How do I get it to generate a single Rule and not multiple for every Element? here is my script so far.

Hola Amigo @jbarronEJBV8 buenas. Try this after the node parameter by Name put the node Unique items, this way you will have 1 parameter for each case generatin 1 rule

If I’m understanding correctly, do you want each of the rules to be an individual filter?

If so, you need a unique name for each filter associated to the parameter value you are reading from it.

Also the correct list structure so that it creates one filter per item with the given rule.

Assuming you want the filter name to be the rule value you are getting from the Spool Tag parameter value. Do the below where A is list.uniqueitems

You then might need to play around with the level inputs for the parameterfilterelement node.

If list levels are new to you, refer to the List.Levels section on here:

https://primer.dynamobim.org/06_Designing-with-Lists/6-3_lists-of-lists.html