Want to avoid taxes? Try a tax ruling