Merge pull request #5373 from rohitwaghchaure/tax_rule_fixes

[Fixes] tax rule, tax rule working even if tax template inside the rule is disabled.