Finding Rules For Sequences