An expert system for the selection of scheduling rules in a job shop