Move @functools.cache
rewrites to their own rule
#1938
Merged
@functools.cache
rewrites to their own rule
#1938