Well, actually after 7 days of work you need a rest of at least 36 hours which has to contain two local nights. If the rest is 40 hours or longer and the local authority agrees the second local night can end at 4:00 local time. To be honest, it is 168 hours between the end and the beginning of a rest time outlined above.
Every other restriction is either an additional local rule which will be voided once your country switches over to EASA-OPS or some CLA.