1. part remove threshold dao and replace with drools rule, 2. fix userinfodaotest errors