Developing an expert system for maintenance scheduling - a case study