Added rule for some programs to automatically maximize