JustinG
(JustinG)
2
You have concluded correctly. The surprising thing is that this is the first time you have come across this as this has always been the case.
See here for a concise breakdown of why this happens.
Understanding the implicit variables in rules in one of the most common ways around this problem
P.S. It will always be easier for others to help you if you post your rules code in code fences