完善rules