Convert Hex binary string to a value in Rules

Some methods here that may be useful