Semi auto rifles are not military weapons.
Full auto/selectable full auto rifles are.
Strict semi autos are not. Not in what we call todays modern army.
The Second Amendment affirms the right to own military weapons. That is the meaning of “arms”.