     newAction = @actionButton.getOptions().title.toLowerCase()
     futureAction = if newAction is 'deny' then 'allow' else 'deny'
 
-    KD.remote.api.JDomain.updateBehavior
-      domainName : data.domainName
-      ruleName   : data.ruleName
-      behaviorInfo :
-        enabled : "yes"
-        action  : newAction
-        index   : "0"
-    , (err, response)=>
-      return console.log err if err?
-      @$().find("div.fw-li-view").removeClass(futureAction).addClass(newAction)
-      @actionButton.setTitle futureAction
+    KD.remote.api.JDomain.one {domainName:data.domainName}, (err, domain)=>
+      domain.updateRuleBehavior
+        ruleName   : data.ruleName
+        behaviorInfo :
+          enabled : "yes"
+          action  : newAction
+          index   : "0"
+      , (err, response)=>
+        return console.log err if err?
+        @$().find("div.fw-li-view").removeClass(futureAction).addClass(newAction)
+        @actionButton.setTitle futureAction
 
 
   deleteProxyRule:->
     data = @getData()
 
-    KD.remote.api.JDomain.deleteBehavior
-      domainName : data.domainName
-      ruleName   : data.ruleName
-    , (err, result)=>
-      return console.log err if err?
-      new KDNotificationView {title:"Action has been deleted from your firewall.", type:"top"}
-      @destroy()
+    KD.remote.api.JDomain.one {domainName:data.domainName}, (err, domain)=>
+      domain.deleteRuleBehavior {ruleName:data.ruleName}, (err, result)=>
+        return console.log err if err?
+        new KDNotificationView {title:"Action has been deleted from your firewall.", type:"top"}
+        @destroy()
 
 
   viewAppended:->

    data or= {}
    super options, data

    domain = data?.domain

    @on "domainChanged", (domainListItem)->
      @getData().domain = domainListItem.data
      @updateViewContent()

    @ruleListController.showLazyLoader()
    @actionListController.showLazyLoader()

    domain.fetchProxyRules (err, response)=>
      if err
        @ruleListController.hideLazyLoader()
        @actionListController.hideLazyLoader()
