drools-scorecards: minor code refactoring and code cleanup