Actually....i figured it out.
Query:
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.SystemGroupName = "Domain\\Application - Mozilla Firefox"
How I did this was created an OU in AD and Named it Subscriber Applications and in this OU I created application security groups. then:
1. Created the 2 applications (Chrome and Firefox) and Distributed Content.
2. Under Device Collections I created a new folder and named it Applications.
3. In the Applications folder I created 2 Device Collections named: Application - Google Chrome and Application - Mozilla Firefox.
4. For the Limiting Collection I used " All Desktop And Server Clients "
5. On The next screen, clicked add rule and chose the query rule option
6. Name: The Application name exactly has I have it named in my AD security group (Example: Application - Google Chrome)
7.Clicked Edit Query statement then clicked Show Query Language
8. Clear everything in the box and paste the above query.
(make sure to change the last bit to "YOURDOMAINNAME\\YouApplicationSecurityGroupName")
9. Next it all the way.
10. Go to Software Library then right click the application and click deploy.
11. For the Collection on the left pane drop down, change to device collections and locate the application collection we just created. ( you will receive a popup stating that the collection doesn't not contain any members (that's ok), just hit ok.
12.Next it all the way.
Now in AD open up computer properties --> member of --> and add the application group in it.
Mine took about 12 minutes and it deployed it successfully to the PC which was in the Google Chrome group
Can one of give an example of this ?.