Limits to the Second Amendment

The second amendment says you have a right to bear arms, not to bear all possible arms. You may not keep a nuke
under your bed, or a canister of sarin, or a test tube of a genetically engineered bioweapon. Why then are you
permitted a machine gun which has no legitimate use in the hands of a civilian? They are not designed for rabbit
hunting.