Mark members as static.
Remove unneeded `readonly` attribute.
Update project files.

Add a custom ruleset, remove unneeded references.