Applying Case-Based Reasoning to Manufacturing