Transport properties of rocks from statistics and percolation