The object stored in the rule is changed from type Object to Serializable.