Lyell to contest High Court spy ruling