What I am getting at is what code tells me that if a wall is gutted it must be rewired to current code. And if it must be rewired, must it be rebuilt, replumbed and so on?