A Framework For Implementing Business Rules In Multi-tier Accounting Information Systems