Understanding court marriage rules