RMS: refactor reduction rules to be less complex.