Added Rules object to decide the winner