Ticket #1140: Reverting rules
Ticket #1140: Reapplying rules patch