Legislation on the protection of rights