title: Multiple AND or OR operators in Eclipse smarthome rule using rule REST API
body: <p>I'm consuming Eclipse smart home REST API to create rules. I already know how to create a rule with only one condition.</p>
  
  <pre>
  
      "conditions": [
          {
              "id": "7",
              "label": "Test rule",
              "description": "This triggers the rule if an item state has changed.",
              "configuration": {
              "itemName": "sensor_luminance_TUID_zwave_device_octopuszstick1_node12",
              "state": "48",
              "operator": "="
              },
              "type": "core.ItemStateCondition"
          }
      ]
  
  </pre>
  
  <p>But I have a requirement to create rules with multiple OR or AND operators. 
  Ex:</p>
  
  <pre>
  
      If( X AND Y AND Z ) {
         DO THIS
      }
  
      If ((X AND Y) OR Z) {
         DO THIS
      }
  
  </pre>
  
  <p>How to do it?</p>