|When Springfield, Mass., needed to choose who would build its first casino, the city hired an outside adviser to help with the process. The consulting firm Shefsky &Froelich recommended the deal go to MGM Resorts International. At the same time, the consulting firm also was working as a registered lobbyist in Illinois for MGM Resorts. The arrangement highlights an often-overlooked trend as more cities and states embrace legalized gambling across the country: Private companies are being hired to write regulations and vet casinos, even as the same firms work the other side of the fence, helping casinos enter new markets and sometimes lobbying for their interests. But letting consulting companies with deep ties to the gambling industry decide how casinos are run — and who runs them — is a significant departure from how established gambling states, including Nevada and New Jersey, do things.