Strip installed files rules from Magento template