Writing Rules For Sequences