update

writing the rules