Thanks to everyone for helping me debug my problem.
Now the problem is resolved.
I wrote the override code in another local module XML file. However, I noticed that the code and my cache are disabled. But I do not know how this caused problems. So, when I deleted this commented code (from another module), my problem was resolved and I was able to override the salesrule model.
, . .
.