The operant-based set-shifting task. Instrumental behavior was guided based on two rules within distinct perceptual dimensions that shifted between each other based on reward delivery or omission feedback. In the ‘‘Light rule,” a nose poke to the illuminated port was correct (A), leading to food reward, whereas a nose poke to the non-illuminated port was incorrect (B), leading to no reward. In the “Side rule,” depicted here on the left side, a nose poke to the valid location (e.g., left port) was correct, regardless of illumination (C). Poking into the illuminated port on the right side, in this case, was incorrect (D), leading to no reward.