Testing and Learning Accounting: A Rule-based Approach to Accounting Scoring