add better rule for text