The resource whose list of rules should be modified. If omitted the user profile's list of rules is used.