1. A computer-implemented method for facilitating interaction between an electronic device and a content provider, comprising: receiving, from the content provider, a set of device classification rules that identify a set of device classes; populating a rules repository with the received set of device classification rules, wherein the rules repository is separate from the content provider; updating, by the content provider, the device classification rules in the rules repository, wherein the updating involves: modifying one or more device classes in the set of device classes; and adding one or more new device classes to the set of device classes; dynamically creating new device classes by identifying groups of similar devices based on properties relevant to the content served by the content provider using a clustering technique; obtaining a device profile comprising a set of properties for the electronic device; identifying, from the set of device classes, a device class of the electronic device based on the device profile and the device classification rules in the rules repository, wherein the identifying involves: evaluating conditions based on properties associated with the device classification rules; determining that at least one of the device classification rules are met, obtaining the device class from an outcome associated with the classification rule; and in response to determining that none of the device classification rules are met, identifying the device class as a default device class; and providing the identified device class to the content provider, wherein the content provider selects content to transmit to the electronic device based on the identified device class.