Developing an expert system for plant disease diagnosis