inline rule template change