How to make my object rotation based on inclination with a mesh face

Can you help me how to make my object rotate with a mesh object surface what i want to do here is make my object rotation based on inclination with a mesh face.