Add in/out interface specification capability to rule define
Fix wrong interfaces variables in rule* templates
Merge pull request #25 from netmanagers/master

Add in/out interface specification capability to rule define