Help needed.
I have a set of password hashes and salts. The password hash is created in a following way: SHA256(Static_salt+password+salt) then its output has been converted into hexadecimal format and truncated to 32 characters. I know the static salt. How do I create a set of rules for this case?

edit: forgot the sha256 conversion
There's no way to do this with hashcat - it's not a rules-level problem, but an algorithm-level problem.

Outside of hashcat, this algorithm isn't natively supported by MDXfind and probably not by Hash Manager (but not sure). I don't know if JtR's dynamic expressions will let you do truncation or not, but that might be feasible.