Doctored the rules so that I don't have to implement bounds checking! Yay!