What are the conditions of the 30% ruling?

/What are the conditions of the 30% ruling?