BZ-1013214 - Guided Rule Template validation causes error

(cherry picked from commit 10c5decc1cb35285e11ef8c57e8f8b5d828c4ab4)