SONARPLUGINS-3215 Replace method with function in rule message