Government has issued new guidance for councils which will end "patch up" fixes and lead to smoother, safer journeys.