{
"language" : "python",
"globalcontext" : "?",
"rules" : [
	{
	"name" : "rule0",
	"conditions" : [
		{
		"type" : "devicestatus",
		"deviceid" : "<deviceid>",
		"jsonpath" : "<jsonpath>",
		"from": <json-value>,
		"to": <json-value>,
		},
		{
		"type" : "devicemsg",
		"deviceid" : "<deviceid>",
		"jsonpath" : "<jsonpath>",
		"msgtype": "status",
		"msgvalue": <json-value>,
		},
		{
		"type" : "time",
		"cron" : "<cronpattern>",
		"timepoint" : "<timepoint>"
		},
		{
		"type": "system",
		"event": "startup"
		}
	],
	"body" : "<body>"
	}
]
}