Adjust PatientRules.java getOwnerReference to fit with multiple refs.

Signed-off-by: benjamincharlton <benjicharlton@gmail.com>