Illegal in rifles. They are referred to "Pistol grips" on rifles. Mainly on AR, AK or Shotgun rifles. It's illegal here in CA. I'm not sure about the state of Montana.
There are alternatives. Do a search on "Monster Grip" which is a rifle grip that extends to the stock. I hope this helps answer your question.