Normal sudoku rules apply. Every 5 in the grid must have a 1 directly above it, or a 9 directly below it. It may have both, but it doesn't need both. For two adjacent digits along a coloured line, dividing one by the other gives an exact integer (one is a multiple of the other.)