dependancies updated
documentation updated and rules regexp validity checking added