That great legal theorist, Isaac Asimov, spilled considerable ink laying out the legal obligations of robots. As set out mainly in that famous legal treatise, I, Robot, these are:
Zeroth Law. A robot may not harm humanity, or, by inaction, allow humanity to come to harm.Now, in fine Hohfeldian fashion, robots may also acquire legal rights. Obviously, such landmark legal reform will have profound longterm effects on Britain, with implications for legal rights currently held by more purely "bio" lifeforms. There may be more immediate effects too: rumors have already begun to spread that millions of Roombas from around the world are preparing to move to Britain.
First Law. A robot may not injure a human being or, through inaction, allow a human being to come to harm.
Second Law. A robot must obey orders given it by human beings except where such orders would conflict with the First Law.
Third Law. A robot must protect its own existence as long as such protection does not conflict with the First or Second Law.