added a functional rules window at the start of the program