redesigned flow rules