LONDON (Reuters) - Britain will need to amend its law allowing for sweeping powers to carry out mass digital surveillance after a court ruled on Tuesday that previous legislation was illegal, civil rights campaigners said.