There are lots of rules for sticking to a budget (the main one is choosing one you can live with).
The 50/20/30 Rule is a way to separate your income:
50% Fixed Expenses (same amount each month): Mortgage, car loan, phone/cable, insurance etc.
20% Savings
30% Flexible Expenses: Groceries, entertainment, meals, gas, clothing