Initial spec for Rules CRUD. More PRs to follow, eg. to add link/unlink rulesets etc.
Also some small changes to the GET rules API, the largest being the introduction
of a new type for action definitions (one that doesn't include a target node id).
Added API definitions for GET/PUT/DELETE a single rule and updated everything to include the concept of a ruleset (so now we have the three level path /nodes/{nodeId}/rulesets/{rulesetId}/rules/{ruleId}).
Initial spec for Rules CRUD. More PRs to follow, eg. to add link/unlink rulesets etc.
Also some small changes to the GET rules API, the largest being the introduction of a new type for action definitions (one that doesn't include a target node id).