One who is skilled in, or given to, casuistry.
Someone who attempts to specify exact and precise rules for the direction of every circumstance of behaviour.
A person who resolves cases of conscience or moral duty.