Generalized rules for Hamster