Jacob Rees-Mogg said it would be "common sense" to ignore fire brigade advice to stay in a burning building.