What this buys
A replay. Record the seed and the inputs and the state replays exactly, which is the only way to chase a rare game bug.
Where purity is wrong
For output only, like a sound or a particle burst. Those are effects the caller emits from the returned state, not inside the rule.