Begin write rules