The perfection of morality is the rejection of whatever ever leads oneself and others away from a positively creative or virtuous state of mind and the cultivation of whatever leads out of a destructive or vicious state of mind.
We cannot fix a rigid moral code to guide us because every situation must be approached with openness.
However, the ten vices listed by the tradition give fundamental direction as to what to avoid and their antitheses indicate what to cultivate.
The ten vices are killing, stealing, sexual misconduct, lying, gossiping, slandering, speaking harshly, coveting, bearing malice and erroneous views, that is, bigotry.
Tarthang Tulku Rinpoche
Calm and Clear