Multiple instances of the same rule in a quality profile

Hello,

Is it possible to add two instances of the same rule to a quality profile with different parametrization?

For example:
The rule from Sonar C# plugin “Methods should not have too many parameters” has a parameter max. Can we add an instance of this rule with max=5 and severity MINOR and another with max=7 and severity MAJOR?

Hi,

This is not a feature supported by analyzers and SonarQube. One exception is some (rare) template rules. The only way to achieve this would be to go for a custom rule reimplementing some existing logic in an existing rule.