Algorithms for Managing the Sustainability of the Development of Production Systems in the Context of the Technological Level of Industries