Implemented support for backwards moving rules.