How can I create custom new C # rules in sonarqube

I’m writing a new rule for C # d, but I’m so disoriented