Reconnection rate for the inhomogeneous resistivity petschek model