Wayne Rooney kept up his hot streak by scoring a 78th-minute winner as Manchester United beat Liverpool 1-0 in the English Premier League.