           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 }}

    @filterListController.showLazyLoader()
    @ruleListController.showLazyLoader()

    domain.fetchProxyFilters (err, response)=>
      if err
        @filterListController.hideLazyLoader()
        @ruleListController.hideLazyLoader()
        
        notifyMsg = if err is "not found"
        then "You don't have any filters set for this domain."
        else "An error occured while fetching the filters. Please try again."

        @actionOrdersButton.hide() if err is "not found"

        return new KDNotificationView
          title : notifyMsg
          type  : "top"


      @iniateControllerListItems domain, response

    @fwRuleFormView = new FirewallFilterFormView delegate:this, {domain}


    filterType  = if @filterInput.getValue().match /[0-9+]/ then "ip" else "country"
    filterName  = @filterNameInput.getValue()
    filterMatch = @filterInput.getValue()
    delegate    = @getDelegate()

    KD.remote.api.JProxyFilter.createFilter
      name  : filterName
      type  : filterType
      match : filterMatch
    , (err, filter)->
      unless err 
        delegate.emit "newFilterCreated", {filterName, filterMatch}

      return new KDNotificationView 
        title : "An error occured while performing your action. Please try again."
        type  : "top"
      

  viewAppended: JView::viewAppended

  pistachio:->
    """
    <div class="fl">
      <label for="filtername" class="">Filter Name:</label>
      {{> @filterNameInput }}
    </div>
    <div class="fl">
      <label for="filter">Match:</label>
      {{> @filterInput }}
      {{> @addButton }}
    </div>
    
