Stochastic flow rule for granular materials.