moved lock-unlock button to items and rule headers