Fixing bugs in broken rule list.