Routing decisions are made from within the route map permit/deny context. Use the match rpki command to configure matching the received prefixes and then configure the actions that need to be performed within the stanza for a route map.