Matt Crooks' late winner earned Rotherham a 2-1 win at home to Preston.
Crooks struck in the 86th minute to end Preston's run of four straight away wins in the Championship and end the hosts' two-match losing streak.
Daniel Johnson was the first to test the 22-year-old, the midfielder denied by the legs of the Swede.
Rotherham had enjoyed a strong spell before the interval and it continued after the break as Freddie Ladapo should have given them the lead.
The striker was picked out by a great left-wing cross from Ben Wiles but could only poke his effort wide from close range.
Veteran defender Wood showed more composure as he put the hosts ahead in the 53rd minute. His central defensive partner Michael Ihiekwe won a back-post header and Wood was on hand to smash past Rudd on the volley.
The pair were quick to combine when a neat touch by Stockley released Barkhuizen, but Johansson was alert to the danger and brave enough to win the ball fairly ahead of the striker.
Preston's Paul Huntington also put his body on the line as he managed to block Wiles' goal-bound effort after the Rotherham man had cut in and shot from the left flank.
And it looked like a crucial intervention as Preston equalised after 80 minutes.
A corner was cleared only as far as Ledson, who fired a shot beyond Johansson into the bottom corner from the edge of the area.
But Rotherham refused to lie down and a rampaging 70-yard run from Florian Jozefzoon was finished off coolly by Crooks in the 86th minute.
Preston still might have snatched a point, but Stockley's header struck a post.