How to programmatically add different "Show/Hide Item" rules to visualizations.