Start to write test.
Now Rule supports Pattern.