The 45-degree rule also pertains vertically, especially relevant for two-story extensions. This rule involves drawing an imaginary 45-degree line from the nearest habitable room of a neighboring property to assess whether your proposed extension will impact daylight and sunlight.