A New Zealand judge has ruled that the National Party breached copyright on Eminem's "Lose Yourself."