I agree with former answers and comments that rules are ment to be the "static" part. When rules are created dynamically on demand, the usage of a rules engine is questionable. However, there are cases where rules are not provided in form / format that drools can handle out of the box. In such cases programmatical creation of rules during the initialization phase is needed.
These things said, here is how you can add a rule (given as a String) to drools.
public void addRule(String myRuleStatement, String myPackage, RuleBase myRuleBase ) {
PackageBuilder packageBuilder = new PackageBuilder(new Package(myPackage));
packageBuilder.addPackgeFromDrl( new StringReader( myRuleStatement ) );
myRuleBase.addPackage ( packageBuilder.getPackage() );
}