Route map is a very useful function in zebra. There is a match and set statement permitted in a route map.
route-map test permit 10 match ip address 10 set local-preference 200
This means that if a route matches ip access-list number 10 it's local-preference value is set to 200.