Move conditional logic out of source code and database triggers and into a reusable package, where explicit rules can be independently defined and managed.