Fix NPE on rules and resetting offline player