That appeals from the said courts in said respective counties shali lie to the superior courts respectively oniy on matters of law or legal inference, and the statement of case on appeal in such case to said superior court shall be made and perfected in like manner and under the same rules and regulations as…