Is there an objective standard for determing what is right(righteous) for men to do?

Whould the same standard apply to God?