Jobticket engine based on rules