Trying to redirect using rules to my custom domain

What am I suppose to add in the if and else conditions as described above?