Rate processes in nonlinear optical dynamics with many attractors.