rewrite directive supported '@'
Added @rewrite test cases
Merge pull request #414 from yzprofile/rewrite_at

rewrite directive supported '@'