If the sink and washing machine are close enough and share a vent, then using the same rain is fine. However, if they don’t share a vent, then you must tie their vents together before tying into the main vent stack.