RulesParser: build a skeletal RulesParser class

Signed-off-by: Gregory M. Turner <gmt@be-evil.net>