Federal court rules firearm restrictions on defendants awaiting trial are constitutional