revert hacks in rules