Hi Antony,
Hence client has respective policies regarding Service Tax calculation.
Better you include all those policies in a Rule and Insert as suggested, this will resolve your query.
Otherwise go for a custom function.
Regards,
Venkat Polisetty.