BZ-1013214 - Guided Rule Template validation causes error

(cherry picked from commit 8414a4acd91bb4ad497aa7d67828905d956f2cd1)