Most of the action was attheotherend and Hearts survived a strong penalty shout in the 13th minute when Ismael Bouzid challenged O'Brien as he ran on to Sutton's knock-down.
Robert Green then made a superb fingertip save to deny John O'Shea attheotherend before Rooney screwed his volley wide after Heinze picked him out with a superb far-post cross.