Maybe you’re running into the error described here (since your code likes similar)? Then you will probably have to add a priority to your new rule, like described here
priority