Pattern dynamics and stochasticity of the brain rhythms