first if you were born after January 1, 1985 you have to take hunters ed. to get your tags,and i think you have to be here for at least 180 days.
Hunter Education Course & Hunting License Test - Safety Course for Montana Hunters
go to walmart,any sporting goods store or FWP HQ and they should be able to tell you everything you need to know about getting your tags (licence).
as for the rifle the only sure way would be to go to the sheriffs office and ask them.if they can't help you they should be able to tell you who can.
I pledge allegiance to the Flag of the United States of America,and to the Republic for which it stands, one Nation, under God, indivisible,
With Liberty and Justice for all.