The Main Directions and Features of the Development of Legislation in the Context of Digitalization and the Transition to a New Technological Order