Rules-based engine for life sims