Fixing PEG rules