At the end of the replay, press E, then space. When the replay finishes, run the script.
"they're like enormous pillows of disgusting girly meat" ~Orih 2016
My Replays
If you dont read previous messages, there is an easy fix for this already mentioned. Pause at end of replay with P and press E to edit. While editing use the script with /ls analyzer.lua to get more than just the gamerules.