Like some of you have said, Shearer at his peak was the complete centre forward. He had just about everything you'd want for a striker to have (and more).
Rooney is a different sort of player really, he's not the traditional centre forward so to speak but he's still a phenomenal player. His ability atm is unrivaled to others who play in his position.
I would definitely take Shearer at his peak over Rooney.