Fixes #4804: Transform data of Rule compliance into javascript

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