The Dirichlet Problem for Curvature Equations in Riemannian Manifolds