General Principle of Machine Guarding