Muon number rescaling in simulations of air showers