Court ruling on Ill. gun ban sets stage for fight