Fixes #4771: Rule grid, now stored as Json

http://www.rudder-project.org/redmine/issues/4771