I have a 10/22 with a folding stock and Remington 572BDL pump .22. The Remington has an extremely long barrel and is very quite with light speed loads. As a kid, if I didn't bag six squirrels a morning, I felt like I had failed.
The 17HMR is different animal, it is a necked down .22 Magnum and is both different than a .22LR and fairly expensive to shoot. That said, it is one of the most impressive rounds I have ever shot, and I purchased a rifle just to shoot it. I live where there are lots of "critters" (coyotes, raccoons, possums, bobcat, skunks, beaver, muskrat...blah, blah, blah) and that 17HMR is EFFECTIVE. It allows me to step down from a .223 (much louder) for varmint duty, which sometimes is daily. Not to be consfused with the 17 Mach II which is a neck down 22 LR.
Lots of 10/22s in pawn shops that can be had pretty cheap and it is one of the most versatile guns on the planet. If I were buying a new 22LR rifle, I would be very tempted to purchase the new Walther G22 bullpup rifle.