Woolgar et al show preferential engagement of human frontoparietal networks with an increase in the complexity of task rules. Plus, the frontoparietal cortex adjusts representations to make rules that are more behavioral confusable easier to discriminate.