SONAR-3755 refactor saving of comments
SONAR-3755 add rule metadata to ws-client