fixed list of rules sorting and missing word