loop rule modification