diff --git a/src/tests/ofc22/descriptors_emulated.json b/src/tests/ofc22/descriptors_emulated.json
index 3905fbc59a538185c1baa7d899e48a838864790d..eb22506238e03a161f0e2b8aaeadf5fd31cf547b 100644
--- a/src/tests/ofc22/descriptors_emulated.json
+++ b/src/tests/ofc22/descriptors_emulated.json
@@ -15,12 +15,12 @@
     ],
     "devices": [
         {
-            "device_id": {"device_uuid": {"uuid": "R1-INF"}},
+            "device_id": {"device_uuid": {"uuid": "R1-EMU"}},
             "device_type": "emu-packet-router",
             "device_config": {"config_rules": [
-                {"action": 1, "resource_key": "_connect/address", "resource_value": "127.0.0.1"},
-                {"action": 1, "resource_key": "_connect/port", "resource_value": "0"},
-                {"action": 1, "resource_key": "_connect/settings", "resource_value": "{\"endpoints\": [{\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"13/0/0\"}, {\"sample_types\": [101, 102, 201, 202], \"type\": \"copper\", \"uuid\": \"13/1/2\"}]}"}
+                {"action": 1, "custom": {"resource_key": "_connect/address", "resource_value": "127.0.0.1"}},
+                {"action": 1, "custom": {"resource_key": "_connect/port", "resource_value": "0"}},
+                {"action": 1, "custom": {"resource_key": "_connect/settings", "resource_value": "{\"endpoints\": [{\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"13/0/0\"}, {\"sample_types\": [101, 102, 201, 202], \"type\": \"copper\", \"uuid\": \"13/1/2\"}]}"}}
             ]},
             "device_operational_status": 1,
             "device_drivers": [0],
@@ -30,21 +30,21 @@
             "device_id": {"device_uuid": {"uuid": "R2-EMU"}},
             "device_type": "emu-packet-router",
             "device_config": {"config_rules": [
-                {"action": 1, "resource_key": "_connect/address", "resource_value": "127.0.0.1"},
-                {"action": 1, "resource_key": "_connect/port", "resource_value": "0"},
-                {"action": 1, "resource_key": "_connect/settings", "resource_value": "{\"endpoints\": [{\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"13/0/0\"}, {\"sample_types\": [101, 102, 201, 202], \"type\": \"copper\", \"uuid\": \"13/1/2\"}]}"}
+                {"action": 1, "custom": {"resource_key": "_connect/address", "resource_value": "127.0.0.1"}},
+                {"action": 1, "custom": {"resource_key": "_connect/port", "resource_value": "0"}},
+                {"action": 1, "custom": {"resource_key": "_connect/settings", "resource_value": "{\"endpoints\": [{\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"13/0/0\"}, {\"sample_types\": [101, 102, 201, 202], \"type\": \"copper\", \"uuid\": \"13/1/2\"}]}"}}
             ]},
             "device_operational_status": 1,
             "device_drivers": [0],
             "device_endpoints": []
         },
         {
-            "device_id": {"device_uuid": {"uuid": "R3-INF"}},
+            "device_id": {"device_uuid": {"uuid": "R3-EMU"}},
             "device_type": "emu-packet-router",
             "device_config": {"config_rules": [
-                {"action": 1, "resource_key": "_connect/address", "resource_value": "127.0.0.1"},
-                {"action": 1, "resource_key": "_connect/port", "resource_value": "0"},
-                {"action": 1, "resource_key": "_connect/settings", "resource_value": "{\"endpoints\": [{\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"13/0/0\"}, {\"sample_types\": [101, 102, 201, 202], \"type\": \"copper\", \"uuid\": \"13/1/2\"}]}"}
+                {"action": 1, "custom": {"resource_key": "_connect/address", "resource_value": "127.0.0.1"}},
+                {"action": 1, "custom": {"resource_key": "_connect/port", "resource_value": "0"}},
+                {"action": 1, "custom": {"resource_key": "_connect/settings", "resource_value": "{\"endpoints\": [{\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"13/0/0\"}, {\"sample_types\": [101, 102, 201, 202], \"type\": \"copper\", \"uuid\": \"13/1/2\"}]}"}}
             ]},
             "device_operational_status": 1,
             "device_drivers": [0],
@@ -54,9 +54,9 @@
             "device_id": {"device_uuid": {"uuid": "R4-EMU"}},
             "device_type": "emu-packet-router",
             "device_config": {"config_rules": [
-                {"action": 1, "resource_key": "_connect/address", "resource_value": "127.0.0.1"},
-                {"action": 1, "resource_key": "_connect/port", "resource_value": "0"},
-                {"action": 1, "resource_key": "_connect/settings", "resource_value": "{\"endpoints\": [{\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"13/0/0\"}, {\"sample_types\": [101, 102, 201, 202], \"type\": \"copper\", \"uuid\": \"13/1/2\"}]}"}
+                {"action": 1, "custom": {"resource_key": "_connect/address", "resource_value": "127.0.0.1"}},
+                {"action": 1, "custom": {"resource_key": "_connect/port", "resource_value": "0"}},
+                {"action": 1, "custom": {"resource_key": "_connect/settings", "resource_value": "{\"endpoints\": [{\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"13/0/0\"}, {\"sample_types\": [101, 102, 201, 202], \"type\": \"copper\", \"uuid\": \"13/1/2\"}]}"}}
             ]},
             "device_operational_status": 1,
             "device_drivers": [0],
@@ -66,9 +66,9 @@
             "device_id": {"device_uuid": {"uuid": "O1-OLS"}},
             "device_type": "emu-optical-line-system",
             "device_config": {"config_rules": [
-                {"action": 1, "resource_key": "_connect/address", "resource_value": "127.0.0.1"},
-                {"action": 1, "resource_key": "_connect/port", "resource_value": "0"},
-                {"action": 1, "resource_key": "_connect/settings", "resource_value": "{\"endpoints\": [{\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}, {\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}, {\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}, {\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}]}"}
+                {"action": 1, "custom": {"resource_key": "_connect/address", "resource_value": "127.0.0.1"}},
+                {"action": 1, "custom": {"resource_key": "_connect/port", "resource_value": "0"}},
+                {"action": 1, "custom": {"resource_key": "_connect/settings", "resource_value": "{\"endpoints\": [{\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}, {\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}, {\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}, {\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}]}"}}
             ]},
             "device_operational_status": 1,
             "device_drivers": [0],
@@ -77,9 +77,9 @@
     ],
     "links": [
         {
-            "link_id": {"link_uuid": {"uuid": "R1-INF/13/0/0==O1-OLS/aade6001-f00b-5e2f-a357-6a0a9d3de870"}},
+            "link_id": {"link_uuid": {"uuid": "R1-EMU/13/0/0==O1-OLS/aade6001-f00b-5e2f-a357-6a0a9d3de870"}},
             "link_endpoint_ids": [
-                {"device_id": {"device_uuid": {"uuid": "R1-INF"}}, "endpoint_uuid": {"uuid": "13/0/0"}},
+                {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}},
                 {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}
             ]
         },
@@ -91,9 +91,9 @@
             ]
         },
         {
-            "link_id": {"link_uuid": {"uuid": "R3-INF/13/0/0==O1-OLS/0ef74f99-1acc-57bd-ab9d-4b958b06c513"}},
+            "link_id": {"link_uuid": {"uuid": "R3-EMU/13/0/0==O1-OLS/0ef74f99-1acc-57bd-ab9d-4b958b06c513"}},
             "link_endpoint_ids": [
-                {"device_id": {"device_uuid": {"uuid": "R3-INF"}}, "endpoint_uuid": {"uuid": "13/0/0"}},
+                {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}},
                 {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}
             ]
         },
diff --git a/src/webui/service/templates/device/detail.html b/src/webui/service/templates/device/detail.html
index f27ac554b1c975039c2cb481c92debf47ba1591f..b4cf6b715250d3e96b5026c3e19758a2be9a9607 100644
--- a/src/webui/service/templates/device/detail.html
+++ b/src/webui/service/templates/device/detail.html
@@ -75,13 +75,15 @@
         <div class="col-sm-10">
             <ul>
             {% for config in device.device_config.config_rules %}
-                <li>{{ config.resource_key }}:
+                {% if config.WhichOneof('config_rule') == 'custom' %}
+                <li>{{ config.custom.resource_key }}:
                     <ul>
-                        {% for key, value in (config.resource_value | from_json).items() %}
+                        {% for key, value in (config.custom.resource_value | from_json).items() %}
                         <li><b>{{ key }}:</b> {{ value }}</li>
                         {% endfor %}
                     </ul>
                 </li>
+                {% endif %}
             {% endfor %}
             </ul>
         </div>
diff --git a/src/webui/service/templates/service/detail.html b/src/webui/service/templates/service/detail.html
index b7c210c3f3f9c7e3bf5a9b6311e0503d2e1d40e9..1e58b9eaad3155524808f60b49840edab7f17739 100644
--- a/src/webui/service/templates/service/detail.html
+++ b/src/webui/service/templates/service/detail.html
@@ -65,13 +65,15 @@
         <div class="col-sm-10">
             <ul>
             {% for config in service.service_config.config_rules %}
-                <li>{{ config.resource_key }}:
+                {% if config.WhichOneof('config_rule') == 'custom' %}
+                <li>{{ config.custom.resource_key }}:
                     <ul>
-                        {% for key, value in (config.resource_value | from_json).items() %}
+                        {% for key, value in (config.custom.resource_value | from_json).items() %}
                         <li><b>{{ key }}:</b> {{ value }}</li>
                         {% endfor %}
                     </ul>
                 </li>
+                {% endif %}
             {% endfor %}
             </ul>
         </div>