That’s not something input rules will help with, as you found. You could bind an additional command to backspace / delete, or install a transaction appender that looks for certain edit patterns in the changes, but there is nothing that will be as convenient as defining a regexp.