I seem to have stepped on some tails with my remark that some are more deserving of rights than others. Who is 'deserving' may be obvious to you, but not someone else. Which is why the subject is a touchy one.
So what is a "right" anyway? When someone says, "I have the right to xyz", he is saying "This is the way I want the world to work, and I expect all right thinking people to agree".
Rights are not bestowed automatically. They must be safeguarded and fought for.
So who should have what rights? Society decides. For instance, we seem to agree that felons should not be able to vote or carry guns. Does this work out for the best? Not always. We can only do our best to cope with an imperfect world.
On what basis, pray tell, do you propose to decide who among us -- whether sentient beings in a different container (as in the case of AIs in the QC-verse), or sentient beings whose race, gender expression, sexuality, et cetera, you may find disagreeable here in the real world -- deserve their rights?
And while we're at it, let's take up your other assertion: "So what is a "right" anyway? When someone says, 'I have the right to xyz', he is saying "This is the way I want the world to work, and I expect all right thinking people to agree'"
We expect -- rightly so, I think -- that rights should be "enforced" more or less equally. What you seem to be suggesting, in contrast, seems very close to asserting that certain groups asking for the same rights that several of us already enjoy are asking for "special rights." If I ask for the right to catapult flaming turkeys at my neighbor's house because Jesus, THAT is a special right. If I say that a transsexual ought to be able to enjoy the same right I have as a cis male to walk down the street without having the shit beaten out of them, that is not and ought not to be a special right; nor is the assertion that my wife should make the same money I do for the same job, or that my LGBT friends shouldn't have to worry about being fired for their sexual orientation. Again, equality isn't somehow a special case or status; it's what we owe each other just on the basis of our shared humanity.
Just my $.02 worth, mind you.