A judge has ruled that Blake Lively and Taylor Swift's messages are "relevant" to her lawsuit against It Ends With Us co-star Justin Baldoni.