Fix time rules