What is a QLR file?
A file with .qlr is a Layer Definition file that contains a pointer to the layer data source. This is in addition to the QGIS style information for the layer. Having references to all related styles, this file is used as a single source for data to be used for getting the styling information. Using the QLR files, information to the data sources can be put in this single file that can be read by other applications to load the styling information. QLR files can be opened with any text editor such as Notepad++.
QLR File Format
QLR, similar to QGS, is an XML file that contains pointers to layer data source in the form of XML tags. It is similar to ArcGIS .lyr file. The top level tags of a QML file are as shown in the image below.