retrieve search terms from model rules