not sure if the link will work - but this is what the interaction checker says
https://www.drugs.com/interactions-check.php?drug_list=2161-0,2012-0&types%5b%5d=major&types%5b%5d=minor&types%5b%5d=moderate&types%5b%5d=food&types%5b%5d=therapeutic_duplication&professional=1basically Rifampin increases the excretion of most drugs - as it upregulates the activity of the CYP 450 enzyme - which is the pathway in the liver that detoxifies most pharma drugs.
the hepatotoxicity of lamasil seems to be genetically determined and limited to certain immunological histo types ( HLA - types) that occur in less than 1% of the population - and only a subset of these seem to have severe reactions leading to dramatic liver damage - usually those with pre-existing complications the others seem to have merely raised liver enzymes and recover just fine after stopping the drug.
decent paper here
https://www.ncbi.nlm.nih.gov/books/nbk548617/safe is a relative term - all antibiotics have a list of possible side effects a long as your arm on the leaflet that they come with. some of them v serious
the way the legal systems work in the west is the drug companies can only be prosecuted if you suffer something that can be proven to be a direct cause of the drug taken and the side effect WAS NOT warned of in the leaflet - hence such long lists of stuff they
may cause.
i don't see any obvious reason to suppose an increased risk from taking with rifampin - as the mechanisms are v different
i think if it were me, and i needed to take the drug, i would just get LFT done 2 weeks in and 4 weeks - and be alert
for any sign of liver damage