Fix nested namespaces in 'using' declarations

Add a special rule for 'using namespace' declarations where nested
namespaces are allowed. This way nested namespaces are still ignored in
places where they aren't allowed.