Development of a methodology for predicting and managing the geomechanical condition of the rock massif during the formation and manifestation of dynamic precipitation of the main roof and its preventive hydraulic treatment in order to avoid dynamic and gas-dynamic phenomena