Get rule types API

edit

Refer to alerting API.