Bands rock in different ways, for instance does the Who rock Like AC/DC, no way, do the Rolling Stones rock like Foghat, no way, but they all rock and they all rock pretty hard. So it would be totally inaccurate to say that any of those bands didn't rock. When Wings ripped thru Hi Hi Hi, believe me the house was rocking!
McCartney said songs like Mary Had A Little Lamb, We All Stand Together, and The Frog Chorus were made for children, so to compare them to rock songs is totally taking them out of context, they aren't meant to be rockers, but see how Wings gets falsely labled.