Different Views for the violations

I included the code from Wolfgang for the static rules, but SIF does not seem to recognize other static rules than Formula Complexity anymore and I don't know what the problem is.
If you want to enable the checking of the static rules, you have to set the EnforceStaticRules setting in the Settings.settings file to true.