Merge branch 'rulesets' into 0.10

* rulesets:
  Updated README on rulesets
  Added possibility to add and get rulesets
  Another fix for PHP 5.3 compat
  Fix compatability with PHP 5.3
  Added support for rulesets
Merge branch 'master' into 0.10

* master:
  readme typo
  Added additional test
Updated README for v0.10.1