"I think you need to rehabilitate prisoners, and maintaining links with society - such as the right to vote - is an important part of that process, " he said, but added anyone serving a long sentence for "rape, murder or terrorism" should be barred from taking part in elections.