added rules to mediaLink model