Assigning Ad-Hoc Work rules