Cannot delete custom WAF rule.
The Operation to delete a custom rule may be unavailable if the rule is assigned to a virtual service.
Navigate to the Virtual Service where the rule was previously applied and remove it under the WAF options. Once that is done you can navigate to Web Application Firewall > Custom Rules. The Delete operation should now be available.