Refactored cdr processing in order to generate Orders just after rating