The rules are funny seriously, if referees see the dive, he books the player, if he doesn't see (which is only referee's mistake) then the player gets banned for two matches, in other words direct red card.
what is the solution? video technology, but no, they won't introduce video technology, so they control the league, simple as that!