Is it buy side or sell side?  If buy side, there are different compliance requirements for different clients (especially for public funds), so they might have you code those rules into their compliance system which generally talks to their trading and accounting systems.