docs
added tests for Rule, make toString return formatted style style string
closes #3 added tests, extend supports array now