Knowledge based reactive management of manufacturing cells