Ruling could lead to expanded gambling offerings in Montana