Accounting rule functionality