The metaphor from Christ in this text is an interesting one (as are all of his metaphors). It is quite shocking to consider the size of a gnat and how, if you were to sift your flour and other ingredients together, you would probably miss a critter the size of a gnat. On the other hand, we would notice rather quickly if a camel stood in our bowl of flour! We would not notice if we swallowed a gnat, but attempting to swallow a camel is rather absurd!
So it is with the Law; the Pharisee would attempt to obey the letter of the law, such as tithing mint, and dill, and cumin, but he would neglect the heart of the Law which is justice, mercy, and faithfulness. If the Pharisee was who he claimed to be, then he would tithe and seek justice, love mercy, and walk humbly with his God!
Tithing, according to the Law, would be like straining a gnat while neglecting justice, mercy, and faithfulness would be straining a gnat while a camel stood in the bowl of flour!