Is there an API that allows to create alert rules and target servers? Right now I must create manually .rules and .json files.