SONARPLUGINS-3292 Re-implement the rule according to the spec update.