Application of cellular automaton in production expert system