For the executing of a matter directed to the sheriff or required by law or rule of court, the performance of which is not mentioned in this act, the sheriff shall receive the same official fees, commissions and legal costs, including mileage, as for similar services specifically provided for in this act.
42 P.S. § 21118