Added test resources for rule parser, added parser tests