Leave plans should fit governmental mandates

Real world leave management allows for a carry over balance (of ANY amount especially in Sick leave), an accrual with a cap that is managed for just the current accrual year and doesn't consider the balance or carry over, and lastly an ability to cap the payout if needed. Just one such example: Massachusetts state mandated sick leave (like so many states and counties now in the 2000's....) Accrue to a cap of 40 hours per year, allow carry over of 40 hours per year, and only pay (yes it says only/cap pay) 40 hours in a year. It doesn't matter that it doesn't make sense administratively. These are written this way by governmental agencies and therefore our software needs to have the ability to comply.