If we want to survive as a species we must obey certain values, which become law, such as equality, freedom or tolerance. Values are usually associated with cultures or groups within those cultures, as well as with belief systems, e.g. when we speak about religious values or family values. They usually form articles of the nation’s constitution.
Rights on the other hand are most often linked to individuals and usually converted into common law. This implies that rights can cross group-boundaries. A typical expression used nowadays, ‘human rights’ is a good illustration of this point. Human rights are thought to relate to individuals regardless of those individuals’ group affiliations. That’s what rights mean in an ethical sense: how a certain value is applied in real life. To read more, see here.