Gravar-mail: Evolutionary rewiring of bacterial regulatory networks