return boolean values when removing a rule
fixed bug in equals and hashCode for JSONObject
javadoc