The 50:30:20 rule states to spend your after-tax income in the ratio of 50:30:20.
The split will be as follows:
50%:  Spend on needs like groceries, housing, utilities, health insurance, and travel.
30%: Spend on wants and leisure like shopping, dining out, hobbies, learning new skill sets, etc
20%: For savings, financial goals, etc.