Issue #3,#4

* #3 switch result array to token object
* #4 more specific rule array by using hash referece intead of array reference.