Rice farmers to take legal action against NFM