A Fast Algorithm for Mining Rare Itemsets