Fix repetitive rules
Created by: ssttehrani
There is no mechanism to check if a rule has been created before, resulting in repetitive rules in the panel. I just added a check to look for the requested rule, if not exists then create it through an API call.
In the pictures below, you can see 2 rules with the same parameters results in duplicate rules with different IDs.