Changing fact syntax in template