If I understad your question well - you want to know right order of rules.
 
 General :
 1. Create proper firewall rule
 2. Create proper UTM profile (or profiles = AV+IPS+WebF+...)
 3. Attach profile (profiles) to firewall rule.
 
 If you have two rules I.E. :
 1. from LAN (all) to WAN (all) + WebFilter allow ...
 2. from LAN (some_adresses) to WAN (all) + WebFilter block ...
   
 then everyone has " full"  access.
 If you wan restrict " some addresses"  you have to change rules order so " block rule"  is first :
 
 2. from LAN (some_adresses) to WAN (all) + WebFilter block ...
 1. from LAN (all) to WAN (all) + WebFilter allow ...
 
 Upper rule if fit traffic (some_addreses) is execute (and next rule is not processed).
 If traffic doesn' t fit traffic (= all-some_addreses )  then you can browse all web.
 
 ID is not important, important is Seq.# (you can see it by setting view options or in Global View)
  
 Hope this help a little ;)
					
				
			
			
				
	Dominik Weglarz, IT System Engineer