Gini and Optimal Income Taxation by Rank