There are four types of rights,
1. Claim rights, which create obligation on someone else, such as social welfare rights. They are claims against a person (people) that create a duty on those people to the right-holder.
2. Liberty rights, you have freedom to do something, but it doesn't create a duty on someone else, for example when playing soccer, you have the liberty to score a goal, but the other team are not duty-bound to let you, they can try to stop you. Legally, you have the liberty to do something, unless there is a law imposing a duty on me not to do it. Usually called liberties.
3. Powers, this is the legal ability to change legal status, such as entering into a contract or getting married, the right to vote. These are usually known as rights.
4. Immunities, to possess immunity is not to be subject to another's power. A perfect example of this is the US constitution. The US constitution places some outside the competence of Congress, and in doing so, provides US citizens with immunities on those matters. If Congress tries to pass a law which the Supreme Court judges to intrude on those immunities, the law is declared invalid. These immunities include the right to free speech, press etc.