The city put codes in place in the 1950s to protect water quality. Today, safety concerns are the main reason the rules remain in place. The city also runs Lake Ray Hubbard, but swimming is allowed there. Because it's so much larger than other lakes in Dallas County, it operates under different standards, Johnson said.