'attachment (or clinging) to mere rules and ritual', is the 3rd of the 10 fetters (samyojana), and one of the 4 kinds of clinging (upādāna).
It disappears on attaining to Stream-entry (sotāpatti).
For definition, s. upādāna.