A condition code approach for comparing dimension match data of a rule with corresponding data in a key is provided. The approach includes, given dimension match data divided into first and second portions, comparing the first portion with a corresponding first portion of data in a key and setting a first condition code based on the comparison. The approach further includes comparing the second portion with a corresponding second portion of key data and setting a second condition code based on the comparison. The approach further includes determining whether the dimension match data is equal to, greater than, or less than the corresponding data in the key based on the first and second condition codes, and returning a response indicating whether the data matches based on the determination.
Please help me write a proper abstract based on the patent claims. CLAIM: 1. A method for comparing dimension match data of a rule with corresponding data in a key, the method comprising: in a rule match engine provided with dimension match data divided into a first portion and a second portion, comparing the first portion of the dimension match data with a corresponding first portion of data in a key; setting a first condition code to equal to, greater than, or less than based on the comparison of the first portion of the dimension match data with the corresponding first portion of data in the key; comparing the second portion of the dimension match data with a corresponding second portion of data in the key; setting a second condition code to equal to, greater than, or less than based on the comparison of the second portion of the dimension match data with the corresponding second portion of data in the key; determining whether the dimension match data is equal to, greater than, or less than the corresponding data in the key based on the first and second condition codes; and returning a response indicating whether the dimension match data and the corresponding data in the key match based on the determination. 2. The method of claim 1, given a minimum value and a maximum value of a range match are interleaved into an interleaved minimum/maximum value and the dimension match data is the interleaved minimum/maximum value, wherein comparing the first portion of the dimension match data, includes comparing the first portion of the interleaved minimum/maximum value to the corresponding first portion of data in the key; wherein setting the first condition code, includes setting a first condition code for the minimum value and a first condition code for the maximum value to equal to, greater than, or less than based on the comparison of the first portion of the interleaved minimum/maximum value with the corresponding first portion of data in the key; wherein comparing the second portion of the dimension match data, includes comparing the second portion of the interleaved minimum/maximum value to the corresponding second portion of data in the key; wherein setting the second condition code, includes setting a second condition code for the minimum value and a second condition code for the maximum value to equal to, greater than, or less than based on the comparison of the second portion of the interleaved minimum/maximum value with the corresponding second portion of data in the key; and wherein the determining includes, determining whether the key is within the minimum and maximum values of the range match based on the first and second condition codes for the minimum value and the first and second condition codes for the maximum value. 3. The method of claim 1 wherein each of the condition codes includes a first bit and a second bit; and wherein setting a respective condition code includes setting the first and second bits forming a first value, a second value different than the first value or a third value different than the first and second values; and wherein the first, second, and third values correspond to equal to, greater than, and less than comparisons, respectively. 4. The method of claim 1 wherein setting the first condition code further includes setting the first condition code to equal to, greater than, or less than based on the determination, the first condition code being a running condition code keeping a status of prior comparisons. 5. The method of claim 1 wherein comparing the second portion of the dimension match data, further includes: determining whether to compare the second portion of the dimension match data with the corresponding second portion of data in the key based on the setting of the first condition code; and comparing the second portion of the dimension match data with the corresponding second portion of data in the key based on the determination. 6. The method of claim 1 wherein the determining includes, determining that the dimension match data and the corresponding data in the key are equal when the first and second condition codes are set to equal. 7. The method of claim 1 wherein the determining includes, determining the dimension match data is less than the corresponding data in the key when the first condition code is set to less than or when the first condition code is set to equal to and the second condition codes is set to less than. 8. The method of claim 1 wherein the determining includes, determining that the dimension match data is greater than the corresponding data in the key when the first condition code is set to greater than or when the first condition code is set to equal to and the second condition codes is set to greater than. 9. The method of claim 1 further comprising, given a value and a mask of a mask match, each provided in a first portion and a second portion, applying the first portion of the mask to the first portion of the value and to the corresponding first portion of data in the key resulting in a masked first portion of the value and a masked corresponding first portion of data in the key, respectively; comparing the masked first portion of the value to the masked corresponding first portion of data in the key; setting a first condition code to equal to or not equal to based on the comparison of the masked first portion of the value with the masked corresponding first portion of data in the key; applying the second portion of the mask to the second portion of the value and to the corresponding second portion of data in the key resulting in a masked second portion of the value and a masked corresponding second portion of data in the key, respectively; comparing the masked second portion of the value to the masked corresponding second portion of data in the key; setting a second condition code to equal to or not equal to based on the comparison of the masked second portion of the value with the masked corresponding second portion of data in the key; determining whether the masked value is equal to or not equal to the masked corresponding data in the key based on the first and second condition codes; and returning a response indicating whether the masked value and the masked corresponding data in the key match based on the determination. 10. A system for comparing dimension match data of a rule with corresponding data in a key, the system comprising: a memory; at least one interface for receiving dimension match data divided into a first portion and a second portion; a rule match engine communicatively coupled to the memory and the at least one interface, the rule match engine configured to: compare the first portion of the dimension match data with a corresponding first portion of data in a key; set a first condition code to equal to, greater than, or less than based on the comparison of the first portion of the dimension match data with the corresponding first portion of data in the key; compare the second portion of the dimension match data with a corresponding second portion of data in the key; set a second condition code to equal to, greater than, or less than based on the comparison of the second portion of the dimension match data with the corresponding second portion of data in the key; determine whether the dimension match data is equal to, greater than, or less than the corresponding data in the key based on the first and second condition codes; and return a response indicating whether the dimension match data and the corresponding data in the key match based on the determination. 11. A tangible non-transitory computer-readable storage medium having computer readable instructions stored therein for comparing dimension match data of a rule with corresponding data in a key, which when executed by a rule match engine, provided with dimension match data divided into a first portion and a second portion, cause the rule match engine to: compare the first portion of the dimension match data with a corresponding first portion of data in a key; set a first condition code to equal to, greater than, or less than based on the comparison of the first portion of the dimension match data with the corresponding first portion of data in the key; compare the second portion of the dimension match data with a corresponding second portion of data in the key; set a second condition code to equal to, greater than, or less than based on the comparison of the second portion of the dimension match data with the corresponding second portion of data in the key; determine whether the dimension match data is equal to, greater than, or less than the corresponding data in the key based on the first and second condition codes; and return a response indicating whether the dimension match data and the corresponding data in the key match based on the determination.