I have the follow doubt.
I have an application-set with several applications ( with udp and tcp ports special) and now I need know, how to associate the application-set to a Rule? .
I see in the Rules configurations only permit Services (applications).
"... match application foo" is also for application sets (one called foo in this example) https://www.juniper.net/documentation/en_US/junos/topics/reference/configuration-statement/security-edit-application-security-policies.html