Fixes #4804: Transform data of Rule compliance into javascript