It was interesting listening to the ruling. The indication seemed to be that the policy itself was not illegal but when enacted by using Rwanda as the destination, it was illegal (because of their poor record on human rights and how badly they had carried out a similar agreement with Israel).
I think they will try it again using another country who is desperate enough for the money. But they will probably run out of time before the next election.