Randomness and probabilistic rules