Added test cases for Rule.Equals() and Rule.Parse()