Edinburgh man with ‘serious’ injuries rushed to hospital from block of flats