change loop time to 1000
set Rules to window by default.