Rabba's principle of 'hachana' and its application to preparing for Shabbat during the week