Obtaining a quality model for manufacturing systems and establishing a maintenance-quality link