CHICAGO _ Left-hander Brett Anderson allowed five doubles and one home run in 32/3 innings Tuesday night, but the Cubs rallied from a 5-0 deficit with four runs in the sixth to take a 9-7 victory over the Brewers at warm and windy Wrigley Field that snapped a four-game losing streak.