Fixes #4804: Transform data of Rule compliance into javascript
Fixes #4843: Refresh rule compliance