Gilbert was rated as the safest city in Arizona in a recent WalletHub study. It came in 29th overall out of 182 U.S. cities.