Refine word array rule