This API creates new rules in bulk. Devices specified in the rule must exist. The caller must own, or have rights to, the device.
name: Rule name.(mandatory)
description: User given description of this rule.
expression: Expression of a logical statement about relationship between the entities. This field must contain an expression conforming to Ayla Rule Expression Syntax. Expressions always evaluate to true or false. If they evaluate to true, the rule performs the associated action(s).(mandatory) Example expressions: