question: public static Rule createAGetPostRule ( String ruleName , String ruleUrl ) throws PolicyException { Map < String , Set < String > > actionValues = new HashMap < String , Set < String > > ( ) ; Set < String > set = new HashSet < String > ( ) ; set . add ( ALLOW_DECISION ) ; actionValues . put ( GET_ACTION , set ) ; set = new HashSet < String > ( ) ; set . add ( ALLOW_DECISION ) ; actionValues . put ( POST_ACTION , set ) ; return new Rule ( ruleName , IPLANETAMWEBAGENTSERVICE , ruleUrl , actionValues ) ; }
target:  Create a HTTP Get/POST Rule for the given URL.