theoretically, the HK have to be transit place, not the terminal place. but
you can stay HK no more than 7 days and come back SG directly. normally the customers officer will not ask you. If you are checked by the customer officer, you just say, I am not sure your rules. Do not worry about it