Updated with the correct rules.