Fix issue with large rulesets exceeding the buffers used for stdout.