fix device argument in custom_rules.xml