Simplify rules engine design

- 2-pass system, matchers followed by setters, instead of old recursive
n-pass system.
- literal commands (i.e. 'match', 'set_name'), no more prefixes (i.e.
'.match', '#set_name').