BZ1035267: Rule Template: Improve validation message when 'template data' is not filled out
(cherry picked from commit 61b9b0b11ca0f8747835284d68fbe29e0faf4458)