It seems adding the complicated syntax in the rules is a PITA with hiera for now, so we will code them into the template