Laws and Statistical Mechanics