@import url('<?php echo $this->getUrl('font.php?fonts=' . $fonts)?>');
<?php foreach ($rules as $rule ):?>
<?php echo $rule->selector?>{ font-family: '<?php echo $rule->slug?>' !important; <?php if (!empty($rule->font_size)) :?>font-size: <?php echo $rule->font_size?>;<?php endif?> }
<?php endforeach ?>