add dynamic rules testing.