sendRule check wrap into method. add noSuchElementException