Every rule is composed by two different sets of items, also known as itemsets, X {\displaystyle X} and Y {\displaystyle Y} , where X {\displaystyle X} is called antecedent or left-hand-side (LHS) and Y {\displaystyle Y} consequent or right-hand-side (RHS).