Gov. J.B. Pritzker signed into law a bill that gives the state more control over gun dealers. But the Illinois State Rifle Association has already vowed a court challenge.Senate Bill 337, signed Thursday at a Chicago elementary school, requires gun stores to be certified through the state. The stores must first get licensed by the federal Bureau of Alcohol, Tobacco, Firearms and Explosives then submit a copy of the license to state police. Store owners are also required to have an electronic inventory and surveillance …