The principle of "ma'aseh shabbat" and application to manufactured products on shabbat