Fix toolbar in rule editor