Use propper functions.
Also removed "action allow" from a javascript array
Removed "action allow" from layer7 rules definition since it didn't make sense
This patch adds the initial support for layer7 protocol inspection gui.