Added test to verify hash produced by parsing a string rule
Fixed bug: modifier was not set when parsing string rules