Configuring path-based rule