The way I look at it:
If you are a sniper (SWAT, military, ect,) then you have a sniper rifle
If you are a hunter then you have a hunting rifle
If you a sniper and you take you rifle you use for sniping hunting, it's a hunting rifle.
All that being said, when someone says sniper rifle I think of something like this,