I have a suspicion (shower-thought level, not held strongly) that "morality" is merely the set of rules that are beneficial for a culture. Laws are normally described like that; I would say the difference is that lawmakers are a subculture who make laws to encode what is beneficial for them, and therefore a nation's morality and laws only line up to the extent that the lawmakers represent the interests of the broader society.