classifier: New cls_rule functions for setting registers and tun_id.