Implemented ClassicRules, along with simple unit test.