An expert control system for tool life management in flexible manufacturing cells