Herrscher is a masculine noun.
However, it's important to remember that:
* The word "ruler" itself isn't inherently masculine or feminine. It depends on the specific context and what you're referring to.
* German has grammatical genders, so the word itself is masculine.
Let me know if you have any other questions about German grammar!