fix incorrectly displaying rule data