added hex, oct, bin constants rules and related tests