Three-manifolds of higher rank