Mesoeconomic factors of intermunicipal cooperation as a tool for the integrated development of rural areas in Poland