before rules