fixed rulecreationwindow