Ensure dependencies listener is treated the same for interpreted and generated reduction rules.
Simplify cryptic buffer line count expression