This project contains example code for Rules 2 plugins:
* Rules actions (including minimal example, an example with a required parameter, and an action that also provides a parameter)
* Rules conditions, including using parameters
* Declaring and invoking Rules events
The example code does not contain any Rules data types, nor any simple tests. Sorry about that.
There is a screencast series available presenting all of the included code and the concepts behind it – see http://dev.nodeone.se/node/895
PS: The screencasts say that this could might be a part of the Examples module, but it turns out that it only include code for core modules. Thus this separate project.