Group Filtering

Hi My Friends,

Can some one help to filter groups while connecting to Active Directory
I have 2 Groups IT users and Network users and many groups I have But I want to just
Add these 2 Groups But in Advance group filter I can just Add one group by

(cn=IT users)

can I use this script to add what I want ?

Under Advanced Settings (|(cn=Work)(cn=Family)(cn=Friends)(cn=Misc))