Duplicate rule names

Well, never mind the implementation details.
Can a person solve the issue? The person in this case is being given a paper entitled “banana”. The person may or may not already have a paper “banana”. Is this a superceding version, or did the author of the paper mean to call it “apple”?
That’s the problem to solve before the nuts and bolts stuff.

There are many solutions - currently it is “assume the author knows what they are doing”.
You might prefer “let’s ask every time”.
Of course with computers, we can be more inventive. The equivalent of forcing the author to use particular typewriter, and have that call us up every time he types a title to see if we already have that, so we can be more selective about asking “are you sure”.
There’s no right way, not even much of a better way.