fixed bug in restart api
added active attributes for rules and ability to deactivate rules
bug fix in add plugins
generated doc files
version bump to 0.4.0