Cellular automata for predicting three-state rain rate and rain attenuation field dynamics