Sustainable smart agriculture farming for cotton crop: a fuzzy logic rule based methodology