General rules for functional microRNA targeting