I'm not able to delete a rule using the delete rule action in the UI.
The error was because the rest url was incorrectly set.