rewrite instructions rules

set - src can be literal or register, selector applies to dst, dst is
register
get - src can be literal or register, selector applies to src, dst is a
register.