is it accurate that, despite all the impediments to building in general, when a disaster destroys a person's home, a right to rebuild what was lost is grandfathered in?

if that is accurate, isn't it a terrible idea?