rule = { matches = { { { "node.name", "equals", "bluez_output.38_18_4C_BF_65_26.1" }, }, }, apply_properties = { ["node.description"] = "WH-1000XM3 (Franzi)", ["node.nick"] = "bluetooth-WH-1000XM3", }, } table.insert(bluez_monitor.rules, rule)