title: Drools HelloWorld sample application gives error
body: <p>When I first set up the sample hello world application I get errors in the <code>rules/sample.drl</code> files</p>
  
  <p>The error is as follows:</p>
  
  <pre><code>Rule Compilation error Only a type can be imported. com.sample.DroolsTest.Message resolves to a package
  Only a type can be imported. org.drools.core.spi.KnowledgeHelper resolves to a package
  KnowledgeHelper cannot be resolved to a type
  com.sample.DroolsTest.Message cannot be resolved to a type
  org.kie.api.runtime.rule.FactHandle cannot be resolved to a type
  org.kie.api.runtime.rule.FactHandle cannot be resolved to a type
  java.lang.Exception cannot be resolved to a type
  org.kie.api.runtime.rule.RuleContext cannot be resolved to a type
  Message.GOODBYE cannot be resolved to a type
  org.drools.core.util.bitmask.AllSetBitMask cannot be resolved to a type
  com.sample.DroolsTest.Message cannot be resolved to a type
  </code></pre>
  
  <p>Also I fixed the error when I write <code>dialect "mvel"</code><br>
  but for some reason I am not okay with this quick fix.</p>
  
  <p>Am I missing some plugin or dependencies?
  I am a newbie to drools rule engine and I followed all steps correctly.</p>