Designing Templates for Mining Association Rules