I want the custom rules of sonarqube

I’m using SonarQube 8.1 to analyze my project C# code, the analysis works as I expected. Now I want the custom rules of sonarqube or add new rules. I do not know-how. Can you give me suggestions?