Change the rule to flip the color of panels.