1. A system comprising: a rules table, each row in the rules table representing a rule characterized by a rule shape and at least one target attribute; and an attribute engine configured to receive input data, examine one or more rules in the rules table according to a predetermined order, and output a final result set, the final result set representing one or more rules in the rules table that match the input data, wherein the predetermined order is determined according to the at least one target attribute and the rule shape.