Since in Network Security Policy only one predefined policy can be assigned to one application, I made this workaround.
For example Opera is web browser and mail client. I created two file groups, “Web browsers” and “Mail clients”, added opera.exe to both of them, in Network Security Policy added these groups with respective predefined policies.
Is it the right solution? Will there be any conflicts?
You can add one of the two. For the other one you will have to manually add the rules from the other policy profile.
Well because of that I made use of file groups. Building configuration in this way is easier than have custom policies for applications.