[
    {
      "kind": "tm:gtm:rule:rulestate",
      "name": "asdf",
      "partition": "Common",
      "fullPath": "/Common/asdf",
      "generation": 92,
      "selfLink": "https://localhost/mgmt/tm/gtm/rule/~Common~asdf?ver=12.1.2",
      "apiAnonymous": "when DNS_REQUEST {\n    if { [IP::addr [IP::remote_addr] equals 10.254.254.0/24] } {\n          cname test.affilate.example.com\n\n   } elseif { [IP::addr [IP::remote_addr] equals 10.0.0.0/8] } {\n      cname test.internal.example.com\n\n   }\n  #everything else will be handled by the default pools in the main WIP\n}"
    },
    {
      "kind": "tm:gtm:rule:rulestate",
      "name": "foo",
      "partition": "Common",
      "fullPath": "/Common/foo",
      "generation": 93,
      "selfLink": "https://localhost/mgmt/tm/gtm/rule/~Common~foo?ver=12.1.2",
      "apiAnonymous": "when LB_SELECTED {\n   # Capture IP address chosen by WIP load balancing\n   set wipHost [LB::server addr]\n}\n\nwhen LB_FAILED {\n   set wipHost [LB::server addr]\n}"
    }
  ]
