The general rule of price differentiation

What is the general rule of price differentiation?