           index   : "0"
       , (err, response)=>
         if not err
-          delegate.emit "behaviorCreated", {domainName:data.domainName, ruleName:data.ruleName, action:behavior}
+          delegate.emit "newRuleCreated", {domainName:data.domainName, ruleName:data.ruleName, action:behavior}
 
   pistachio:->
     """
-    {div.fl.fw-li-rule{ #(match)}}
+    <div class="fl fw-li-rule"> {{ #(name) }} - {{ #(match) }}</div>
     <div class="fr buttons">
       {{> @allowButton }}
       {{> @denyButton }}


    @ruleListScrollView.addSubView @ruleListController.getView()

    @on "newRuleCreated", (item) => 
      @filterListController.addItem item

    # this event is on rule list controller because 
    # both allow & deny buttons live on FirewallfilterListItemView.
    @filterListController.getListView().on "behaviorCreated", (item) => 
      @ruleListController.addItem item

  iniateControllerListItems:(domain, response)->

class FirewallFilterFormView extends KDCustomHTMLView

  constructor:(options={}, data)->
    options.cssClass = "filter-form-view"
    super options, data

    @filterNameInput  = new KDInputView {tooltip: {title: "Enter a name for the filter.", placement:"bottom"}}
    @filterInput      = new KDInputView
      tooltip : 
        title     : "You can enter IP, IP Range or a country name. (ie: 192.168.1.1/24 or China)"
