POMI: an expert system for integrated pest management of apple orchards