Adding updated Rules.java source file with changes to variable types and added a new variable for Board class.
Added logistic comments