match: Add new PropertiesChanged rule

Matches on path_namespace rather than path.

Signed-off-by: Rashmica Gupta <rashmica.g@gmail.com>
Change-Id: I69d7b6cb4b79da381ebae3c4572c17b51faaf24d
diff --git a/include/sdbusplus/bus/match.hpp b/include/sdbusplus/bus/match.hpp
index 8420244..ae167b9 100644
--- a/include/sdbusplus/bus/match.hpp
+++ b/include/sdbusplus/bus/match.hpp
@@ -200,6 +200,12 @@
            interface("org.freedesktop.DBus.Properties"s) + argN(0, i);
 }
 
+inline auto propertiesChangedNamespace(const std::string& p,
+                                       const std::string& i)
+{
+    return type::signal() + path_namespace(p) + member("PropertiesChanged"s) +
+           interface("org.freedesktop.DBus.Properties"s) + argN(0, i);
+}
 /**
  * @brief Constructs a NameOwnerChanged match string for a service name
  *