The European Union's Legal Affairs Committee has recommended that the EU begin drafting rules for issues of robot rights, including autonomous cars, a definition for "electronic persons", issues of liability, and even kill switches.
http://www.notebookcheck.net/EU-Legal-affairs-committee-suggests-rules-for-robots-including-rights-and-kill-switches.192188.0.html