Fix previous rule pointer not being initialized
Don't start actions via unmanaged windows